I am a newbie that is trying to get the simplest example from the man page to work between two hosts on my internal network but it is failing with the error "
port number associated with host cmapp2-jlinoff is out of range" error.
Here is all of the relevant information than I can think of.
$ # On host cmapp1-jlinoff
$ hostname
cmapp1-jlinoff
$ uname -r
3.10.0-327.10.1.el7.x86_64
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
inet 10.87.4.224/17 brd 10.87.127.255 scope global ens32
valid_lft forever preferred_lft forever
$ ping cmapp2-jlinoff
PING cmapp2-jlinoff.cm.rambus.com (10.87.4.225) 56(84) bytes of data.
64 bytes from cmapp2-jlinoff.cm.rambus.com (10.87.4.225): icmp_seq=1 ttl=64 time=0.801 ms
64 bytes from cmapp2-jlinoff.cm.rambus.com (10.87.4.225): icmp_seq=2 ttl=64 time=0.939 ms
.
.
$ firewall-cmd --list-ports
1194/udp 3888/tcp 2181/tcp 2888/tcp 9092/tcp 9093/tcp 13001/tcp
$ openvpn --remote cmapp2-jlinoff -dev tun1 --ifconfig 10.87.4.225 10.87.4.224 --verb 9
Options error: remote: port number associated with host cmapp2-jlinoff is out of range
Use --help for more information.
The hosts are running CentOS 7.2.
There is no configuration at this point.
This worked perfectly on my VirtualBox VMs using a local network with the same OS so it must be related to either my local configurations or network setup.
What does this error mean? How can I debug/fix it?