How to connect to an IPSec VPN through a LinkSys WRT54GL?

2

I am having trouble connecting to a L2TP IPSec VPN when I use my wireless router. I have a LinkSys WRT54GL v1.1 wireless router with the most current version of tomato (1.28).

I have no issues connecting to the VPN server when I connect directly to the modem. I am using Windows 7 and its built-in VPN client.

Any ideas?

Johnny

Posted 2011-04-22T02:35:42.963

Reputation: 21

Answers

1

Enable the router's "VPN Passthrough" feature, which should be in the Advanced settings somewhere.

Of course, if you'd like to (or need to) get away from IPSec, I highly recommend OpenVPN which works without the need to enable the "VPN Passthrough" option:

  OpenVPN (free, open source, userland VPN solution)
  http://www.openvpn.net/index.php/open-source.html

Randolf Richardson

Posted 2011-04-22T02:35:42.963

Reputation: 14 002

I am using Tomato there is no vpn passthrough option – Johnny – 2011-04-30T04:38:13.953

If IPSec is not supported, then a solution like the one that OpenVPN provides will be needed. IPSec works differently than most applications, which is why special support by routers may be needed. – Randolf Richardson – 2011-05-02T05:16:14.337

OpenVPN is great. Just not built into windows by default. But easily obtained and installed. – Matt H – 2013-02-11T20:23:16.160

0

No problem,

VPN passthrough just opens up your firewall with these options for IPSEC.

You need firewall rules to allow udp dest ports 500 & 1701. protocol gre/esp & ah in.

In iptables it would basically be this:

iptables -A FORWARD -p udp -m multiport --dports 500,1701 -j ACCEPT
iptables -A FORWARD -p gre -j ACCEPT
iptables -A FORWARD -p esp -j ACCEPT
iptables -A FORWARD -p ah -j ACCEPT

Of course that allows anyone to access your VPN potentially, so I'd recommend you filter that further by IP range if you can.

Matt H

Posted 2011-04-22T02:35:42.963

Reputation: 3 823