Re: Portforwarding with iptables
ipsec?
iptables
#ipsec rule for NETBIOS/SAMBA over the tunnel
iptables -A FORWARD -i ipsec0 -j ACCEPT
INPUT rules
#specific ipsec lines
iptables -A INPUT -s $lh_fwall -p udp --dport 500 -j ACCEPT
iptables -A INPUT -s $lh_fwall -p 50 -j ACCEPT
iptables -A INPUT -s $lh_fwall -p 51 -j ACCEPT
echo "ipsec rules in place"
the complete ruleset i use is here,
http://www.thing.dyndns.org/debian/iptables.htm
regards
Steven
Craig wrote:
>
> Hi Guys
>
> I am setting up a firewall that needs to have
> the functionality of forwarding vpn connections
> to an internal masqueraded workstation.
>
> At this point all I need is the port number and
> protocol that VPN uses.
>
> Any help would be greatly appreciated.
>
> ..Craig
>
> --
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: