par t2net » 31 Mars 2003 17:54
Info trouvée sur Internet
<BR>
<BR>
<BR><!-- BBCode auto-link start --><a href="http://www.impsec.org/linux/masquerade/ip_masq_vpn.html" target="_blank">http://www.impsec.org/linux/masquerade/ip_masq_vpn.html</a><!-- BBCode auto-link end -->
<BR>
<BR>
<BR>Fait par redirection du port 1723 sur IPCOP :
<BR>
<BR>PPTP (1723/tcp and 47/ip):
<BR>/sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 1723 -j DNAT --to 192.168.0.5
<BR>
<BR>
<BR>A saisir (pour IPCOP 1.3) :
<BR>
<BR>/sbin/iptables -t nat -A PREROUTING -i eth1 -p 47 -j DNAT --to 192.168.0.5
<BR>
<BR>...where 192.168.0.5 is the local-network IP address of the PPTP server. I have not had any reports regarding IPsec server masquerade.
<BR>