News: This forum is now permanently frozen.
Pages: [1]
Topic: How to use m0n0wall VPN to get internet access  (Read 3623 times)
« on: June 26, 2012, 06:02:12 »
AlanTang *
Posts: 6

Hello:

 I have try to setup a m0n0wall with build-in VPN Server!

How can I setup that the device connected to VPN and can go the path through VPN Server to internet?

Thanks!
« Last Edit: June 26, 2012, 06:21:16 by AlanTang »
« Reply #1 on: June 26, 2012, 14:20:56 »
Lennart Grahl ***
Posts: 153

Add a firewall rule that allows traffic from vpn to wan.
If you are using m0n0wall as a dns server you have to add a rule that allows traffic from vpn to your m0n0wall device (the LAN ip address) at port 53.

Normally Windows gives vpn connections priority over your lan/wlan device so you shouldn't have to configure anything else.
« Reply #2 on: June 27, 2012, 07:40:50 »
AlanTang *
Posts: 6

I have try to setup like this but no luck.

I don't know why the IP Address for my VPN client is 192.168.31.0!
The other things is why the public IP XXX.XXX.228.123 to respond my VPN connection!

Does my VPN setup was correct?



* VPN-01.jpg (131.58 KB, 742x594 - viewed 830 times.)

* VPN-02.jpg (105.17 KB, 640x960 - viewed 828 times.)

* VPN-03.jpg (27.8 KB, 589x234 - viewed 742 times.)
« Last Edit: June 27, 2012, 07:42:50 by AlanTang »
« Reply #3 on: June 27, 2012, 14:36:43 »
Lennart Grahl ***
Posts: 153

I have try to setup like this but no luck.

I don't know why the IP Address for my VPN client is 192.168.31.0!

Have a look at the "Users" tab. Client IP addresses are defined there.

The other things is why the public IP XXX.XXX.228.123 to respond my VPN connection!

No idea to be honest.

Edit: I'm not sure how iOS determines which interface should be used for internet access.
« Last Edit: June 27, 2012, 14:39:24 by Lennart Grahl »
« Reply #4 on: July 24, 2012, 16:08:28 »
Mad Medicine *
Posts: 10

In the the pptp settings in the iphone/ipad/ipod, there's an an option called "Send all Traffic". When set to on, all your gateway traffic gets redirected into the vpn. To double check, just go to whatismyip.org with your iphone, you should see your Monowall's public IP to confirm its working.
« Reply #5 on: October 23, 2012, 17:54:54 »
Јаневски ***
Posts: 153

According to Your rules no UDP is allowed UDP 53 is a must for DNS traffic. Allow UDP too.

 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines