Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I configure IPTables to allow a PPTP session to connect outbound

Posted on 2004-04-23
2
751 Views
Last Modified: 2012-05-04
I have a private LAN sitting behind a Linux server. I want to allow a Windows PC on the LAN to open a Microsoft PPTP session to a remote client network (using port 1723, protocol 47[?]). I can't seem to configure my IPtables rules to allow this - does anybody have a potted solution?

0
Comment
Question by:JohnBrookeContingent
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 125 total points
ID: 10906909
This should work if eth1 is your internal network card. If that's not the case, replace it with the name of your internal card:

iptables -A FORWARD -p 47 -m state --state NEW -i eth1 -j ACCEPT
iptables -A FORWARD -p tcp --dport 1723 -m state --state NEW -i eth1 -j ACCEPT
0
 

Author Comment

by:JohnBrookeContingent
ID: 10911949
Thanks. Seems to do the trick.

0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question