Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Filter rule for vpn user
« previous
next »
Print
Pages: [
1
]
Author
Topic: Filter rule for vpn user (Read 4232 times)
Trebor1
Newbie
Posts: 5
Karma: 0
Filter rule for vpn user
«
on:
February 20, 2017, 05:41:22 pm »
I've set up openvpn and works very well, but I'd like to define firewall rules by source vpn user and I can only do it by IP. Is there any way to do it by name? For example the "common name" of the vpn user?
Thanks
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: Filter rule for vpn user
«
Reply #1 on:
February 20, 2017, 06:09:04 pm »
You could make proxy decisions in Squid based on user name, but you'd have to set it up with authentication (non-transparent).
Other than setting up different VPN servers with different settings, there's no way to distinguish between VPN users.
Bart...
Logged
Trebor1
Newbie
Posts: 5
Karma: 0
Re: Filter rule for vpn user
«
Reply #2 on:
February 21, 2017, 10:14:09 am »
Could I specify a static IP by common name of VPN users?
Logged
djGrrr
Full Member
Posts: 112
Karma: 22
Re: Filter rule for vpn user
«
Reply #3 on:
February 21, 2017, 02:59:27 pm »
You can accomplish this with Client specific overrides, assign them a static ip, then create firewall rules on the static ip
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Filter rule for vpn user