EFW Support

Support => VPN Support => Topic started by: blobbi on Friday 07 March 2008, 09:44:20 pm



Title: open a VPN Connection Time Controled
Post by: blobbi on Friday 07 March 2008, 09:44:20 pm
Hi there,

what i need is to open a connection to a other Endian FW but controled by Time
so that da connection opens at 12 o clock and stops hm like 2hours later.

The same ned i for a windows workstation ( for remote backups ) but bevor i must established a VPN Connection.

can someone help me please

greetings from germany
Frank


Title: Re: open a VPN Connection Time Controled
Post by: sunblast on Monday 05 May 2008, 07:08:03 am
Take a look at the time module of iptables. Through this you can set up some rules that allow acces depending on the time. Check the help with this command

iptables -m time --help


Put these rules into /var/efw/inithooks/rc.firewall.local so they stay after reboots