// I created this post again, to add latest updates....
I am trying to create VPN server using L2TP.
- I added an interface in interface list, I noticed if I don't it would be created on-the-fly.
- added PPP profiles, secrets, I set it to take IP from dhcp (both local and remote address), is that wrong ? now VPN client gets IP from same group as my LAN computers (192.168.1.x)
- the VPN client (iPhone) connects OK but cannot get internet access unless I disable that last firewall rule (drop all from WAN not DSTNATed).
- it also gets internet access if in "interface list" I remove the L2TP interface from the "WAN" group, but it gets added back when I reconnect.
- it also gets internet access if I add to that highlighted firewall rule: "interface NOT my L2TP interface", but not sure if this is the solution or just lower security.
- I tried setting interface list to "LAN" inside the PPP profiles, but it didn't seem to do anything.
- Inside the NAT rules, I added that rule, trying to mimic the one above it (that was added automatically), maybe that is the right solution but I did something wrong there ?