VPN Masquerading not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I'm having a really hard time trying to get a VPN client behind my
iptables firewall/gateway to connect to a win2k vpn server. I really hope
someone can help with this as I don't know what else to try. I'm running
iptables 1.2.5 on redhat 7.3 kernel 2.4.18-3. I have set up normal ip
masquerading and that works great. But when it comes to connecting my win2k
laptop to the vpn server it just times out on authentication and I get a
connection error. As far as I know all the settings on the laptop are
correct, it will connect to the vpn server if I plug it direct into the DSL
modem. 

I have been through the VPN Masquerading How To, the Masquerading How To and
the Packet Filtering How To but I still can't seem to get it right. I've
also been through some of the previous threads on this list to no avail.
Below is an iptables -v -L which shows the rules I currently have I know
it's not a safe firewall, but for now I just want to get VPN working. Some
of these have been set up based on advice from other threads. I'm not sure
if I really need them. The Default policy is accept so I don't see why the
packets are not getting in.

(Sorry if the wrapping makes this hard to read!)
Chain INPUT (policy ACCEPT 2 packets, 656 bytes)
 pkts bytes target     prot opt in     out     source
destination        
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere
tcp spt:1723 

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source
destination        
    0     0 LOG        all  --  any    any     $EXTERNALIP
$VPNSERVERIP LOG level warning prefix `VPN '
    0     0 LOG        all  --  any    any     $VPNSERVERIP
$EXTERNALIP     LOG level warning prefix `VPN '
    0     0 ACCEPT     gre  --  any    any     anywhere             anywhere
    0     0 ACCEPT     udp  --  any    any     $VPNSERVERIP
$VPNCLIENTIP multiport ports isakmp,2746
    0     0 ACCEPT     udp  --  any    any     $EXTERNALIP
$VPNSERVERIP multiport ports isakmp,2746

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source
destination 

Could anyone who has got this working post the iptables rules they used?
Thanks, George




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux