ipchains
Jerry Feldman {75562}
gzf at gbr.msd.ray.com
Fri Aug 20 14:43:03 EDT 1999
Derek Martin wrote:
> 3.1 Rusty's Three-Line Guide To Masquerading
>
> This assumes that your external interface is called `ppp0'. Use ifconfig
> to find out, and adjust to taste.
>
> # ipchains -P forward DENY
> # ipchains -A forward -i ppp0 -j MASQ
> # echo 1 > /proc/sys/net/ipv4/ip_forward
Actually, SuSE sets this up through YaST. There are some variables that one
needs to set in rc.config. In Tony's case, he has M1X, so he has 2 ethernet
cards. I'll send my SuSE config when I get home.
--
Jerry Feldman (HP On-Site Consultant) http://gbrweb.msd.ray.com/~gzf/
+-------------------------------------------------------+-----Note: ------+
| Raytheon Electronic Systems (W) (781)999-1837/1-1837 | My views may not|
| Mail Stop: S3SG10 (F) (781)999-4030/1-4030 | reflect the |
| 180 Hartwell Road (W) gzf at gbr.msd.ray.com | views of my |
| Bedford, MA 01730-2498 (FWD:H+W) gaf at blu.org | employer. |
+-------------------------------------------------------+-----------------+
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list