Security Basics mailing list archives

Re: OpenVPN Configuration


From: bala.linux () gmail com
Date: 18 Feb 2009 06:06:21 -0000

Hello Simon,
   
      This should be possible through iptables. For example, below rule will open ports 22 and 80 
for the specified time.

Eg :
-A FORWARD -s 10.8.1.100 -d 192.168.0.2/32 -p tcp -m multiport --dports 22,80 -m time --datestart 2008-04-02T19:00:05 
--datestop 2008-04-02T21:00:05 -j ACCEPT
   

Thanks and Regards,
Bala


Current thread: