OpenVPN works, but cannot forward 443 to 1194

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
CaptainSlow
OpenVpn Newbie
Posts: 1
Joined: Mon Dec 01, 2014 1:02 am

OpenVPN works, but cannot forward 443 to 1194

Post by CaptainSlow » Mon Dec 01, 2014 1:14 am

Hello,

I installed OpenVPN and am able to access the internal network using an LTE connection. However, when I try public wifi, there are no incoming packets being received on the client. I think this may be due to the network only allowing 80 or 443.

I tried changing the client config file to read:

Code: Select all

proto tcp 
remote [i]<VPN server IP>[/i] 443
I then changed the port forwarding on the router to:
ANY source port to hit the destination 1194 and forward to 1194.
When I did this, my connection could not send or receive packets. I'm slightly confused on what's next. I do not think the server config file needs to be updated, since the router is supposed to forward 443 to 1194. I even tried accepting 443 traffic on the IPtables. Can anyone provide insight on this matter?

I tried searching for this issue but could not find any specific resolution.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: OpenVPN works, but cannot forward 443 to 1194

Post by Traffic » Mon Dec 01, 2014 12:49 pm

As you have not posted your server config I will make some assumptions:

The default proto/port is UDP/1194
You have changed proto and port to TCP/443
Proto must be the same on both sides - server: proto tcp-server / client: proto tcp-client

It would also be more sensible to configure your server to use port 443
Then open port TCP/443 on your firewall and forward it to your server.

Post Reply