/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


Lee Isaacson wrote:

> I am having difficulty of setting up IP Masquerading.
> I am dialling into my ISP via a modem (on COM 1) on ppp0.
> I only have 2 PC's on the network
> 
> Linux IP is 172.16.1.1
> Windows IP is 172.16.1.2
> 
> 1)
> Would it be possible for someone to send me an example of an rc.local file
> and an rc.firewall file for connecting with an analogue modem ?

echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY
ipchains -A forward -i ppp0 -j MASQ

> 2)
> What should my name server be set to on my Linux Box ?
> 
> a) Blank
> b) 127.0.0.1 (local host)
> c) 172.16.1.1

localhost is you are running your own name server
otherwise your isp's name server(s).

raf

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to