How to configure iptables to allow vpn passthrough

Nigel Wade nmw at ion.le.ac.uk
Thu Apr 6 08:44:21 UTC 2006


Dan Track wrote:
> On 4/5/06, Paul Howarth <paul at city-fan.org> wrote:
> 
>>Dan Track wrote:
>>
>>>I'd like to connect to my work vpn, how can I configure iptables to
>>>allow vpn passthrough. I have linksys wrt54g wireless router that can
>>>do it, but I can't manage it through my linux firewall, can someone
>>>please suggest a way out of this.
>>
>>I use shorewall to build the firewall for my router rather than the
>>stock Fedora iptables. Shorewall has configuration options for a few
>>different types of "tunnel" applications such as pptp and openvpn style
>>VPNs. I use openvpn with shorewall and it works perfectly. Highly
>>recommended.
>>
>>Paul.
>>
> 
> 
> 
> Hi
> 
> Thanks for the advice. I assume that you create the vpn tunnel at the
> router with your firewall, what I'd like to do is create a tunnel from
> a windows xp workstation inside the network. Is that possible, or is
> thei a wishlist?
> 
> Thanks
> Dan
> 

What flavour of VPN? If you are wanting a Windows client to "dial-in" to a 
Windows PPTP VPN server my setup required port 1723/tcp to allow the VPN to be 
established, and protocol 47 (GRE) to tunnel the VPN.


-- 
Nigel Wade




More information about the fedora-list mailing list