Forgot your password?
cm0s, ... in Off-Topic
You forgot the rule that will accept 51206 on tun0 and DNAT it to your webservers 80/443.
Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.
got it goin
iptables -t nat -A PREROUTING -i tun0 -p tcp --dport 51206 -j DNAT --to 192.168.1.105:80
iptables -t nat -A PREROUTING -i tun0 -p tcp --dport 51207 -j DNAT --to 192.168.1.105:443
You will need 2 high ports if you wish to use both 80 and 443 local ports.
Those 2 don't make sense since they will never match - your tun0 IP will be 10/8 and not 18.104.22.168:
iptables -I FORWARD -i tun0 -p udp -d 22.214.171.124 --dport 51206 -j ACCEPT # forward airvpn portiptables -I FORWARD -i tun0 -p tcp -d 126.96.36.199 --dport 51206 -j ACCEPT # forward airvpn port
Not sure what you meant in your other part of the post, but in order to have SSL running
you don't have to wait for any verification from your reseller (Namecheap etc.) and you can
simply authorize your domain's SSL certificate using MX, TXT or HTTP methods.
All of the methods are supported with EFF sponsored https://LetsEncrypt.org CA.
If you still want to avoid using high ports for your target audience, you have 2 options:
1) Running a VPS with a public IPv4, where the VPN client will run and forward it to your (home) backend
2) Running a Tor hidden service.
easy to get lost in diff hosting companies admin areas got it goin appreciate the help
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Pasted as rich text. Paste as plain text instead
Only 75 emoji are allowed.
Your link has been automatically embedded. Display as a link instead
Your previous content has been restored. Clear editor
You cannot paste images directly. Upload or insert images from URL.