On Fri, Oct 19, 2012 at 5:57 AM, Hristo Benev <[email protected]> wrote:

> Hi,
>
> I have following situation. I have client box that is behind dynamic IP.
> And I would like to open specific port only for that client IP.
> Every time IP changes I have to reconfigure firewall (Shorewall) and
> server application.
>
> Is there a way to open port from script?
> My initial idea is to detect change of IP on client side ssh to server and
> execute script to close old IP and open for new one.
> I can do replace on IP in /etc/shorewall/rules and reload shorewall. Is
> there more elegant way of doing it?
>
> Any suggestions?
>

You can also use Port Knocking mechanism.

Regards
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to