View previous topic :: View next topic |
Author |
Message |
scoon l33t
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Thu Mar 09, 2006 1:13 am Post subject: shorewall & pptp |
|
|
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 |
|
|
sakserv n00b
Joined: 22 Aug 2005 Posts: 21
|
Posted: Thu Mar 09, 2006 3:17 pm Post subject: |
|
|
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 |
|
|
scoon l33t
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Thu Mar 09, 2006 3:24 pm Post subject: |
|
|
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 |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Thu Mar 09, 2006 4:29 pm Post subject: |
|
|
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
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 |
|
|
scoon l33t
Joined: 23 Aug 2003 Posts: 747 Location: Philadelphia, PA
|
Posted: Thu Mar 09, 2006 5:26 pm Post subject: |
|
|
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 |
|
|
|