Greetings! =)
Another problem where I am stuck:
Setup:
A simple network: internet --> cable modem --> M0n0wall (with interfaces LAN, WLAN, DMZ and WAN)
What I want:
Building up a VPN-tunnel with mobile client setup to the M0n0wall and lead all internet traffic through this tunnel.
What I think, it should do the trick:
* Setting up my network card with no gateway, DNS=[M0n0-DMZ-interface]
* one single nslookup of my dyndns-adress and appropriate entry in c:\windows\system32\drivers\etc\hosts
* setting one single route to the WAN-interface of my M0n0wall via the gateway "route add [M0n0-WAN-IP] [GW-IP]"
* Building up the tunnel, assigning an IP from the M0n0wall-DMZ-network to the virtual interface
* Setting the DMZ-interface of the M0n0wall as the default gateway "route add 0.0.0.0 mask 0.0.0.0 [M0n0-DMZ-IP]"
What works:
* VPN-tunnel works
* I can ping M0n0-DMZ-IP
* I can ping M0n0-LAN-IP (with the correct entry of a firewall-rule)
* M0n0-DMZ-IP answers, when I do nslookup
www.google.de, so DNS through the tunnel already works
What's missing:
I can't tracert or even ping an internet-adress. E.g. ping
www.google.de does not work.
What I tried:
For testing purposes i completly opened the firewall for the interfaces "IPSec VPN" and "DMZ". It doesn't change anything. I'm not sure, which Interface needs the rules. "IPSec VPN" should be opened, since this is the interface, my external client connects to. But since I have to set the M0n0wall-DMZ-IP as the default gateway, I also have to assign a DMZ-ip to the virtual network card of the external client. Therefor I opened the firewall for both IPSec VPN and DMZ.
IF: DMZ, Proto: any, Source: DMZ net, Port: any, Destination: any, Port: any
IF: IPSec VPN, Proto: any, Source: any, Port: any, Destination: any, Port: any
Maybe I should play around with outbound NAT? That's a point where I am really not experienced... So any suggestions would appreciated. Many thanks in advance. :-)