The problem i am having is that when i try lport 1194,bind or any other commands like that the log shows openvnp client trying to connect going out on port 1194 but windows 7 still uses a randomly assigned port.
This is with nobind taken out of the config file. my client config is
client
proto udp
lport 1194
resolv-retry 20
keepalive 10 120
mute-replay-warnings
ns-cert-type server
cipher AES-128-CBC
comp-lzo
verb 2
persist-key
persist-tun
verb 1
tls-exit
dev tun0
cert untangle-vpn/xx-public-library-tom.crt
key untangle-vpn/xx-public-library-tom.key
ca untangle-vpn/xx-public-library-ca.crt
remote xx.xx.xx.xx 1194
bind or lport not working. windows 7 64bit
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 06, 2011 7:22 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: bind or lport not working. windows 7 64bit
hi there,
noticed that you are using untangle..
did you install the openvpn installer from openvpn.net or
you used the one that untangle gives?
which version of untangle you are using?
michael.
noticed that you are using untangle..
did you install the openvpn installer from openvpn.net or
you used the one that untangle gives?
which version of untangle you are using?
michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 06, 2011 7:22 pm
Re: bind or lport not working. windows 7 64bit
We used the installer for the client BUT i have upgraded the client on the windows 7 64bit machine to the latest openvpn client which is the release canidate. My pfsense firewall that is at the other end reports the openvpn client connecting with the random port and not the port i am assigning the openvpnclient.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: bind or lport not working. windows 7 64bit
hi there,
do you have a router perfoming NAT in front of your client?
Michael.
do you have a router perfoming NAT in front of your client?
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: bind or lport not working. windows 7 64bit
I just checked on my win7 64bit box that if I use 'lport 12000' and connect to a VPN server that the source port is indeed 12000. Use wireshark to view the traffic from the win7 box to the server.
If there's another router in between the source port will get altered by that router.
If there's another router in between the source port will get altered by that router.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 06, 2011 7:22 pm
Re: bind or lport not working. windows 7 64bit
Oh ok that explains it. Thanksjanjust wrote:I just checked on my win7 64bit box that if I use 'lport 12000' and connect to a VPN server that the source port is indeed 12000. Use wireshark to view the traffic from the win7 box to the server.
If there's another router in between the source port will get altered by that router.