[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

RE: [Openvpn-users] are source and destination port the same?


  • Subject: RE: [Openvpn-users] are source and destination port the same?
  • From: "Tibbs, Richard" <rwtibbs@xxxxxxxxxxx>
  • Date: Fri, 8 Jul 2005 21:21:10 -0400

Destination ports (from client to server) are:
Wellknown: 0-1023
Registered: 1024 - 49151.
Openvpn has a registered port now, IIRC 1194.

Source port should be so-called ephemeral ports.
The office range per RFC 1700 for ephemeral ports is 49152 65535

RH9 almost does. Linux 2.4 kernel will default the range of 32768
through 61000, as does Solaris. Linux 2.2 is like BSD & windoze
Windows doesn't follows the rules.
See Microsoft Knowledge Base Article - 196271 
Windows (all versions) cannot use ports above 5000 without modifying
registry IIRC.

To see range,  cat /proc/sys/net/ipv4/ip_local_port_range
To change range, echo "49152 65535" >
/proc/sys/net/ipv4/ip_local_port_range

cheers
Rick.

-----Original Message-----
From: openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Anthony
Ewell
Sent: Friday, July 08, 2005 5:01 PM
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Openvpn-users] are source and destination port the same?

Hi All,

     Under iptables, is OpenVPN's source and destination port
the same?  Or, is the source port in the random "unassigned"
range?

     --sport 5000        --dport 5000        or
     --sport 1024:65535  --dport 5000

Many thanks,
--Tony

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-07/msg00074.html on line 219

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-07/msg00074.html on line 219