Share VPN connection over 2nd wifi

Message
Author
x-user
Posts: 28
Joined: Sat Apr 09, 2022 10:49 am

Share VPN connection over 2nd wifi

#1 Post by x-user »

does anybody know of an off the shelf package to share a vpn over wifi connection over a second wifi adaptor?

I have seen some recipes especially lan connections over wifi, but the ones that look like they might be made to work involve quite a few changes to iptables, and I don't really feel confident enough to get into that.

Any ideas?
Thinkpad X61T | Thinkpad X220T | Windows...

fan_of_LTS
Posts: 110
Joined: Sat Jun 13, 2020 11:49 am

Re: Share VPN connection over 2nd wifi

#2 Post by fan_of_LTS »

You can use NetworkManager for this.

When you plugin your 2nd wifi adapter, setup a new WiFi connection. Give it a recognizable SSID (e.g. xusers hotspot) and on the WiFi tab select mode Hotspot. On the IP settings select Shared to Other Computers and save the connection.

Once you have it working you might want to look into nmcli if you are comforable at a command line.

I do this for guests occasionally.

Post Reply

Return to “Software / Configuration”