Solved

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

Posted on 2004-04-23
2
746 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
Comment Utility
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
Comment Utility
Thanks. Seems to do the trick.

0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Lock Down Lubuntu 27 239
IP Tables Application Accept 6 27
Intel X520 pps problem 10 205
iptables limit connection per ip correct way ? 2 36
​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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now