OpenVPN on port 443

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
anticant
DD-WRT Novice


Joined: 25 Apr 2018
Posts: 6

PostPosted: Sun May 06, 2018 4:31    Post subject: OpenVPN on port 443 Reply with quote
Openvpn on 443 worked but then it didn't after some time. I noticed httpd crashing and restarting every few minutes. I know that's not good, so what is it about having Openvpn server on 443 that is continually crashing httpd?


iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -j MASQUERADE
iptables -I INPUT 1 -p tcp --dport 443 -j ACCEPT
iptables -I FORWARD 1 --source 192.168.10.0/24 -j ACCEPT
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
WAN_IF="$(route -n | awk '/^0.0.0.0/{wif=$NF} END {print wif}')"
iptables -t nat -I POSTROUTING -s 192.168.10.0/24 -o $WAN_IF -j MASQUERADE
Sponsor
anticant
DD-WRT Novice


Joined: 25 Apr 2018
Posts: 6

PostPosted: Sun May 06, 2018 14:45    Post subject: Reply with quote
Thanks, I was actually trying to clean that config up previously but I didn't have any luck with it. I was able to get everything to work without having to add rules to the firewall. I put OpenVPN network in my regular LAN (192.168.1.0/32).

I also turned off HTTPS and it looks like httpd is no longer constantly crashing.


Thanks again!
anticant
DD-WRT Novice


Joined: 25 Apr 2018
Posts: 6

PostPosted: Thu May 24, 2018 3:15    Post subject: Reply with quote
Removing firewall config made it where I could only connect from my LAN. Is there anyway to get VPN to work without firewall config and only using the VPN config?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum