|
First, if the iptable and masq modules should not compiled into the kernel and not put in, but do exist as modules, we need to put in them. Now either your Intranet is massive, or you are simply trying to get two or three machines to work on the internet - it doesn't make much difference either means. In the event you get an error saying can't discover iptables, go discover it and install it. If it says no such table 'nat', recompile the kernel with nat help. If it says no such table as 'mangle', don't be concerned about it, it's not necessary for MASQ'ing. 2.4 and compile that with iptables assist. If this provides an error, then you definitely most likely haven't got state tracking in the kernel - go recompile. Then enable new connections solely from our intranet (native/internal community). Replace the ppp0 with eth0 or no matter your external machine is. If either of the primary two rules failed, then this final rule with stop the masquerading from working at all. To undo this rule do "iptables -P Input Accept".
Review my web-site - ItagPro |
|