The pfSense Store

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jukebox

Pages: [1]
1
General Questions / Assign Interface at the CLI/Script
« on: December 28, 2017, 05:07:53 am »
Hi All,

Appreciate that i am new here and was hoping for some help with something that has been bugging me for some time, all help much appreciated.

I'm new here but have been using pfSense for quite a few years at home and in production environments. I use a VPN provider at home and have everything setup perfectly except one point. I have 3 separate VPN client tunnels setup and wish to regularly rotate amongst them, at the moment i achieve this by changing my VPN Interface assignment to the next OVPN Port on the list then restarting the OVPN service, this works but i was looking to write something to automate it via a script/cron job. No issues with the scripting of the OVPN service restart but i cannot find anyway of non-interactively assigning a port to an interface. Is anyone able to enlighten me with regards to this please?

P.s. Version is latest - 2.4.2-RELEASE-p1

Thanks In Advance
Jamie

Pages: [1]