tarou44
Hello,
I use OpenVPN between my provider and VPS server
local x.x.x.x
port 8587
proto udp4
dev tap0
dev-type tap
secret sliv.key
keepalive 10 120
cipher AES-256-CBC
push "redirect-gateway def1 bypass-dhcp"
ifconfig 10.20.0.1 255.255.255.252
persist-key
mssfix 1472
tun-mtu 1500
auth-nocache
ncp-disable
log /var/logs/openvpn/adsl.log
verb 3
mute 5
remote x.x.x.x
auth-nocache
cipher AES-256-CBC
dev tap2
dev-type tap
ifconfig 10.20.0.2 255.255.255.252
local 192.168.0.250
ping 28
ping-restart 60
port 8587
proto udp
route 0.0.0.0 0.0.0.0 10.20.0.1 30
secret /lib/uci/upload/cbid.openvpn.VPN_ADSL.secret
tun-mtu 1500
verb 3
Why in OpenVPN log the connection are on random port ?
Sun Sep 30 19:15:24 2018 Peer Connection Initiated with [AF_INET]92.160.x.x:10086
Sun Sep 30 19:15:22 2018 UDPv4 link remote: [AF_UNSPEC]
Sun Sep 30 19:15:22 2018 UDPv4 link local (bound): [AF_INET]x.x.x.x:8587
Why connection is not initiated on port 8587 ?
it possible to force to initiated connection on port 8587 ?
Sorry for my bad english, i'm french guy.
Thanks