[NTLUG:Discuss] iptables NAT

Jay Urish jay at unixwolf.net
Wed Dec 8 15:45:35 CST 2010


I thought anything after the -j was a chain name like REJECT LOG or ACCEPT


On 12/8/2010 3:37 PM, Dennis wrote:
> Figured out my problem with setting up the router - forgot that the 
> host has to have an entry in the routing table (minor technicality 
> right?).
>
> Now working with setting up NAT on the firewall to change the 
> address.  Per the instructions, need to set up several command to 
> perform the process.  The first one being:
> # iptables -A FORWARD -i eth0 -0 eth0 -m state --state 
> ESTABLISHED,RELATED -j ACCEPTED
>
> The response was:
>    iptables v1.4.3.1: Couldn't load target 
> `ACCEPTED':/lib/xtables/libipt_ACCEPTED.so: cannot open shared object 
> file: No such file or directory
>
> Looked in /lib/xtables and it is correct, the file libipt_ACCEPTED.so 
> does not exist.  Did a Google search, and got back no results for the 
> specified file, but did get results for what appears to be the old 
> ipchains version, libipt_accep.so .
>
> Appreciate any insight.
>
> Dennis
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss





More information about the Discuss mailing list