Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shorewall & pptp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Thu Mar 09, 2006 1:13 am    Post subject: shorewall & pptp Reply with quote

Hey all,

Hoping for some help here. I can connect to my work vpn when shorewall is off. But when it is on, it blocks ALL traffice out of ppp0. I have looked for a solution but unfortunately, iptables is one of my weaknesses.

Can someone here, help me get the shorewall rule written to allow for vpn from home ?

-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
sakserv
n00b
n00b


Joined: 22 Aug 2005
Posts: 21

PostPosted: Thu Mar 09, 2006 3:17 pm    Post subject: Reply with quote

something like this should fit the bill.

Code:

iptables -I INPUT -s <IP you will be connecting from> -p tcp --dport 1723 -j ACCEPT


Hope that helps
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Thu Mar 09, 2006 3:24 pm    Post subject: Reply with quote

sakserv wrote:
something like this should fit the bill.

Code:

iptables -I INPUT -s <IP you will be connecting from> -p tcp --dport 1723 -j ACCEPT


Hope that helps


Hey there,

Thanks I have that from other posts. but I was most interested in the shorewall steps.

Actually, this has just made me realize (yet again) that i really need to lear iptables and stop relying on other crap to write the rules for me.

-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
pteppic
l33t
l33t


Joined: 28 Nov 2005
Posts: 781

PostPosted: Thu Mar 09, 2006 4:29 pm    Post subject: Reply with quote

scoon wrote:

Actually, this has just made me realize (yet again) that i really need to lear iptables and stop relying on other crap to write the rules for me.

-scoon


I used to use shorewall, and felt that iptables rules looked daunting, but after reading the man pages (long, but good for bored moments) shorewall confuses the hell out of me now :oops:

I thought learning iptables was the same sort of level as, for example, learning to compile from cvs etc. But looking around the forums at the experience levels of people with iptables rules questions, I was sometimes wrong...
I think half the problem is that most if the iptables tutorial/howto pages I've seen go into too much depth for an uninitiated user, perhaps some simple rule building howto is needed, or a gui app that doesn't build the firewall, but just output the rule as text so you get some idea of the syntax over time?
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Thu Mar 09, 2006 5:26 pm    Post subject: Reply with quote

Quote:

I think half the problem is that most if the iptables tutorial/howto pages I've seen go into too much depth for an uninitiated user, perhaps some simple rule building howto is needed, or a gui app that doesn't build the firewall, but just output the rule as text so you get some idea of the syntax over time?


Spot on there. I have been looking for something to do, maybe this is it.


-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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