OK, Using this HOWTO
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/index.html
I got as far as 3.4, when I´m about to configure my iptables.
Then i used the basic firewall script
http://www.ecst.csuchico.edu/~dranch...c.firewall-2.4
But i got a BUNCH of errors...
I am a linux n00b using slackware.
And i have NO idea of what to do...
Any ideas? ty in advance
error log:
: command not found 38:
..ading simple rc.firewall version 0.75
: command not found 40:
: command not found 41:
: command not found 58:
: command not found 59:
External Interface: eth0
Internal Interface: eth1
: command not found 83:
: command not found 84:
: command not found 87:
: command not found 88:
: command not found 90:
- Verifying that all kernel modules are ok
: No such file or directoryin/depmod
: command not found 95:
: command not found 106:
: command not found 113:
----------------------------------------------------------------------
: command not found 115:
: No such file or directorybin/modprobe
: command not found 123:
: command not found 124:
: command not found 127:
: command not found 128:
: No such file or directorybin/modprobe
: command not found 142:
: command not found 143:
: No such file or directorybin/modprobe
: command not found 150:
: command not found 151:
: No such file or directorybin/modprobe
: command not found 158:
: command not found 159:
: No such file or directorybin/modprobe
: command not found 167:
: command not found 168:
: No such file or directorybin/modprobe
: command not found 176:
: command not found 177:
: command not found 185:
----------------------------------------------------------------------
: command not found 187:
: command not found 234:
Done loading modules.
: command not found 236:
: command not found 237:
: command not found 238:
Enabling forwarding..
: No such file or directoryroc/sys/net/ipv4/ip_forward
: command not found 250:
: command not found 251:
Enabling DynamicAddr..
: No such file or directoryroc/sys/net/ipv4/ip_dynaddr
: command not found 260:
: command not found 261:
: command not found 276:
: command not found 277:
Clearing any existing rules and setting default policy..
iptables: Bad policy name
'ad argument `
Try `iptables -h' or 'iptables --help' for more information.
iptables: Bad policy name
'ad argument `
Try `iptables -h' or 'iptables --help' for more information.
iptables: Bad policy name
'ad argument `
Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name
: command not found 291:
FWD: Allow all connections OUT and only existing and related ones IN
' (No aliases, :, ! or *).n interface `eth0
' (No aliases, :, ! or *).n interface `eth1
'ptables v1.2.8: Invalid target name `ACCEPT
Try `iptables -h' or 'iptables --help' for more information.
' (No aliases, :, ! or *).n interface `eth1
' (No aliases, :, ! or *).n interface `eth0
'ptables v1.2.8: Invalid target name `ACCEPT
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.8: Invalid target name `LOG
Try `iptables -h' or 'iptables --help' for more information.
: command not found 296:
Enabling SNAT (MASQUERADE) functionality on eth0
' (No aliases, :, ! or *).n interface `eth0
'ptables v1.2.8: Invalid target name `MASQUERADE
Try `iptables -h' or 'iptables --help' for more information.
: command not found 299:
: command not found 300:
: command not found 301:
Done.