Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
General Apps
VPN and DNS
How do I disallow OpenVPN connection when client device is on my LAN?
Message
<blockquote data-quote="Studynxx" data-source="post: 1097172" data-attributes="member: 98674"><p>I could block the LAN subnet on my server's firewall, sure, but the problem is that the 192.168.1.0/24 subnet is the one that approx. 90% of ISPs use, unless I am mistaken, so if I did do that, then eg. when I'm in a hotel room connected to their WIFI, I would essentially block myself from connecting to my VPN server which isn't good</p><p></p><p>So I thought OK, let's use the LAN MAC address instead, it's very unlikely to change and it's not like 2 routers are going to have the exact same MAC address. I like this idea, however I don't think I can implement it on the server side (and I suck at bash, I only do powershell and batch, not bash)</p><p></p><p>So I'd like to implement it on the <strong>client</strong> side ie in the <strong>opnvpn client config </strong>file, but how can I do that? I've looked at a lot of sites and still can't figure it out. Would appreciate some help</p></blockquote><p></p>
[QUOTE="Studynxx, post: 1097172, member: 98674"] I could block the LAN subnet on my server's firewall, sure, but the problem is that the 192.168.1.0/24 subnet is the one that approx. 90% of ISPs use, unless I am mistaken, so if I did do that, then eg. when I'm in a hotel room connected to their WIFI, I would essentially block myself from connecting to my VPN server which isn't good So I thought OK, let's use the LAN MAC address instead, it's very unlikely to change and it's not like 2 routers are going to have the exact same MAC address. I like this idea, however I don't think I can implement it on the server side (and I suck at bash, I only do powershell and batch, not bash) So I'd like to implement it on the [B]client[/B] side ie in the [B]opnvpn client config [/B]file, but how can I do that? I've looked at a lot of sites and still can't figure it out. Would appreciate some help [/QUOTE]
Insert quotes…
Verification
Post reply
Top