OpenVPN TAP settings

Reviews and other little ventures that don't quite fit into the other forums
Post Reply
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

OpenVPN TAP settings

Post by Daniel Wee »

Settings.

Generally can follow this:-
https://www.comparitech.com/blog/vpn-pr ... r-pfsense/

With key changes pertaining to TUN/TAP

Using 2048-bits all through.
Attachments
Screenshot 2022-12-25 190930.jpg
Screenshot 2022-12-25 190930.jpg (219.81 KiB) Viewed 23170 times
Screenshot 2022-12-25 190855.jpg
Screenshot 2022-12-25 190855.jpg (286.95 KiB) Viewed 23170 times
Screenshot 2022-12-25 190817.jpg
Screenshot 2022-12-25 190817.jpg (308.3 KiB) Viewed 23170 times
Screenshot 2022-12-25 190741.jpg
Screenshot 2022-12-25 190741.jpg (347.51 KiB) Viewed 23170 times
Screenshot 2022-12-25 190654.jpg
Screenshot 2022-12-25 190654.jpg (324.98 KiB) Viewed 23170 times
Screenshot 2022-12-25 190601.jpg
Screenshot 2022-12-25 190601.jpg (210.09 KiB) Viewed 23170 times
Daniel Wee
Site Admin
Posts: 2449
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: OpenVPN TAP settings

Post by Daniel Wee »

To get rid of cached password warning, edit /var/etc/openvpn/server2/*.ovpn file and add:-

auth-nocache

Also to forward broadcast packets, make sure:-

server-bridge 192.168.1.1 255.255.0.0 xxxxxxxxx yyyyyyyyyy

where xxxxxxxxx is the start of the ip pool and yyyyyyyyy is the end of the ip pool to be bridged, eg. 192.168.7.20 192.168.7.29
Post Reply