I'm trying to set up a VPN that is compatible with the stock Android ROMs. This is this first time I've really done anything with an IPSec VPN or L2TP tunneling, so I'm a bit lost.
The only reference I could find for this were from these two sources:
http://web2.mayrhofer.eu.org/l2tp-ipsec … ile-phones
https://forum.openwrt.org/viewtopic.php?id=27942
Has any body else done this, or have anything to add that may have not been addressed in the two links above? I'm building from trunk, and don't have space for the web interface, I'm just accessing the router via ssh terminal.
I think I may have it set up correctly, but getting hung up at the firewall. In /etc/config/firewall I have:
# allow IPsec/ESP, ISAKMP, and NAT-T passthrough for VPN
config rule
option src wan
option dest lan
option protocol esp
option target ACCEPT
config rule
option src wan
option dest lan
option src_port 500
option dest_port 500
option proto udp
option target ACCEPT
config rule
option src wan
option dest lan
option src_port 4500
option dest_port 4500
option proto udp
option target ACCEPTand in /etc/firewall.user I have:
iptables -A input_wan -m policy --strict --dir in --pol ipsec --proto esp -j ACCEPTBut after trying to connect I see no packet counts above 0 by any of the rules that result from these. (And the generated rules are spaghetti, I have a hard time tracing where the packets are getting dropped at)
In the past a simple SSH connection has been sufficient, but is not ideal for doing things like tunneling WOL packets, or connecting to a samba server, etc.
