Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Nov 19, 2015 4:36 am 
Offline

Joined: Thu Nov 19, 2015 4:31 am
Posts: 1
I am trying to setup Pritunl following this tutorial: https://www.linode.com/docs/networking/ ... vpn-ubuntu
After following steps listed there, I couldn't connect to Pritunl web interface from the url: https://my.ip:9700. it gets timed out.
My iptables rules are like below :

*filter

# Allow all loopback (lo0) traffic and reject traffic
# to localhost that does not originate from lo0.
-A INPUT -i lo -j ACCEPT
-A INPUT ! -i lo -s 127.0.0.0/8 -j REJECT

# Allow ping.
-A INPUT -p icmp -m state --state NEW --icmp-type 8 -j ACCEPT

# Allow SSH connections.
-A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT

# Allow HTTP and HTTPS connections from anywhere
# (the normal ports for web servers).
-A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT
-A INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT
-A INPUT -p tcp --dport 22222 -m state --state NEW -j ACCEPT
-A INPUT -p udp -m udp --sport 9700 --dport 1025:65355 -j ACCEPT
-A INPUT -p tcp -m tcp --sport 9700 --dport 1025:65355 -j ACCEPT

# Allow inbound traffic from established connections.
# This includes ICMP error returns.
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

# Log what was incoming but denied (optional but useful).
-A INPUT -m limit --limit 5/min -j LOG --log-prefix "iptables_INPUT_denied: " --log-level 7

# Reject all other inbound.
-A INPUT -j REJECT

# Log any traffic which was sent to you
# for forwarding (optional but useful).
-A FORWARD -m limit --limit 5/min -j LOG --log-prefix "iptables_FORWARD_denied: " --log-level 7

# Reject all traffic forwarding.
-A FORWARD -j REJECT

COMMIT

Just wondering what I am doing wrong. I have bothe Pritunl and mongod service are up and running.


Top
   
PostPosted: Thu Nov 19, 2015 3:23 pm 
Online
Senior Newbie

Joined: Tue Jun 07, 2011 5:25 pm
Posts: 14
Looks to me like 9700 should be the dport, not the sport.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group