Solved

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

Posted on 2004-04-23
2
754 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
[X]
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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

​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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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