linux bridge and openvpn

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
pinguim007
OpenVPN User
Posts: 48
Joined: Sun Oct 03, 2010 4:55 pm

linux bridge and openvpn

Post by pinguim007 » Sun Oct 03, 2010 5:15 pm

hello I would like to known if I configure a openvpn on port 2222 udp on both sides the Software (openvpn) only going to uses those ports? or is going to use high ports too?

I am doing a bridge on my linux and I know esacly what port the open vpn is going to use?


can somebody help me on that?

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: linux bridge and openvpn

Post by krzee » Mon Oct 04, 2010 3:30 pm

for the tunnel, it will only use the port you tell it to use.

pinguim007
OpenVPN User
Posts: 48
Joined: Sun Oct 03, 2010 4:55 pm

Re: linux bridge and openvpn

Post by pinguim007 » Wed Oct 13, 2010 10:36 am

and can you tell me what does it do for handshake and etc?

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: linux bridge and openvpn

Post by krzee » Fri Oct 15, 2010 12:18 pm


User avatar
somms
OpenVPN User
Posts: 20
Joined: Sun Aug 29, 2010 2:38 pm

Re: linux bridge and openvpn

Post by somms » Fri Oct 15, 2010 1:26 pm

krzee wrote:for the tunnel, it will only use the port you tell it to use.
http://i181.photobucket.com/albums/x15/ ... Status.jpg

Was under the impression that the port# specified in the config was only used for handshaking then OpenVPN will then just randomly use avail ports to maintain the bridge and these change everytime the connection is interrupted. Pic linked above of OpenVPN flashed DD-WRT router with default 1194 port used...notice 2 clients are connected via port 1031 and 49180 at that particular time...
Image

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: linux bridge and openvpn

Post by krzee » Sat Oct 16, 2010 5:35 am

the impression you were under was wrong.
the other connection is unrelated to openvpn

Post Reply