/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
Jsainz77 wrote:
> I have recently tried IPMASQ and everything was going well until I got to the
> "testing phase".
> I think I might have my eth1 configured wrong.
> eth0 is my main ISP line coming from my cable modem.
> eth1 has an IP of 192.168.0.1 with the 255.255.255.0 netmask
> Nothing works. I am somewhat new to Linux and I know I shouldn't be trying
> IPMASQ with my miniscule amount of Linux knowledge but it looked easy to me.
>
> Can anyone help?
it is easy. assuming that your network is setup ok, all you should
have to do for masquerading is:
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -X
ipchains -P forward DENY
ipchains -A forward -s 192.168.0.0/24 -j MASQ
does your lan work before you start masquerading?
show us the output of ifconfig and route.
also, the masquerading howto contains a testing scheme
to find out what's not working. check it out.
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.