, 09 2007 . 12:56
+
Akademic
!
, , .
, , - ( , =) ).
, , .
(1) VPN .
.
, gentoo.
squid.
.
NAT, squid'a.
:
- eth0(100)
- ppp0 (1)
. . .
, , , squid .
, ( , NAT ).
.
, . .
-
iptables -t nat -A POSTROUTING -p tcp -o eth0 -j MASQUERADEiptables -t nat -A POSTROUTING -p tcp -o ppp0 -j MASQUERADE , - . .
, .
.
.
:
1. ?
, - , :
# Generated by iptables-save
v1.2.6a on Wed Apr 24 10:19:17 2002
*filter
:INPUT ACCEPT [404:19766]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [530:43376]
COMMIT
2. ?
P.S. , .
- , .
/ ...
:
gentoo
nat