I'm new at
iptables. I'm trying to whitelist a IP. My server is behind a proxy and I'm getting refused connections since the server is thinking the proxy Ip is attacking it.
I have tried this below
/sbin/iptables -I INPUT -1 eth0 -s 111.11.1111.111 -j ACCEPT
The IP above is example only.
The OS is Ubuntu 11.10
I was wondering if that's the correct way to add it. I also don't know how to save it. I guess every time you reboot you have to add it. I was wondering what the command was to save it so I don't have to keep adding it.