
[ Home | Liste | F.A.Q. |
Risorse | Cerca... ]
Archivio: Ottobre 2003 ml@sikurezza.org Soggetto: vtun+iptables Mittente: Paolo Radice Data: 25 Oct 2003 06:38:58 -0000Ciao a tutti,
iptables -A INPUT -i tun0 -j ACCEPT iptables -A OUTPUT -o tun0 -j ACCEPT iptables -A INPUT -p tcp -i tun0 -s 172.19.3.0/24 --dport 3389 -j ACCEPT
options {
type stand;
port 8079;
syslog daemon;
ifconfig /sbin/ifconfig;
route /sbin/route;
}tunnel {
pass XXX;
type tun;
proto tcp;
compress zlib:1;
encrypt yes;
stat yes;
keepalive yes;
speed 0;
up {
ifconfig "%% 172.19.3.1 pointopoint 172.19.3.2 mtu 1450";
route "add -net 172.19.2.0 netmask 255.255.255.0 gw 172.19.3.2";
};
}options {
port 8079;
syslog 7;
ifconfig /sbin/ifconfig;
route /sbin/route;
}
tunnel {
pass XXX;
proto tcp;
compress zlib:1;
encrypt yes;
keepalive yes;
up {
ifconfig "%% 172.19.3.2 pointopoint 172.19.3.1 mtu 1450";
route "add -net 172.19.1.0 netmask 255.255.255.0 gw 172.19.3.1";
};
}-- Paolo Radice
________________________________________________________ http://www.sikurezza.org - Italian Security Mailing List
[ Home | Liste | F.A.Q. |
Risorse | Cerca... ]
www.sikurezza.org - Italian Security Mailing List
(c) 1999-2005