HI,
I want to block my local ports 9090 e 9091 in iptables, so I need to do a ssh port forwarding with putty to access admin area, for security matters.
I know how to do the port forward, but I don´t know the right way to fo that with iptables, and I´m afraid to mess something.
Can you help me with the iptables command ?
Thanks,
Jcorreia
Hi,
I had a similar problem regarding IPTables and port forwarding. The best tutorials for me were here:
http://iptables-tutorial.frozentux.net/iptables-tutorial.html
http://kreiger.linuxgods.com/kiki/?Port+forwarding+with+netfilter
You will have to do some try and error, but in the end it will work.
Regards
Walter
Thanks,
but I can´t make this move because I use the plugin ‘User Service’ to update the users password from a intranet site, which makes request trough http requests.
Is there anyway to update a user info, So I can block the web admin interface ?
Thanks
http://www.google.com/search?q=iptables+block+port&ie=utf-8&oe=utf-8&aq=t&rls=or g.mozilla:en-US:official&client=firefox-a&safe=on
maybe something like this
iptables -A INPUT -p tcp -i --dport 9090 -j REJECT
does the user plugin work with https and port 9091?
I would look into setting a rule that will disallow access to the admin console except from specific IPs that you wish to allow for management.