Solved

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

Posted on 2004-04-23
2
747 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Fine Tune your automatic Updates for Ubuntu / Debian
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

24 Experts available now in Live!

Get 1:1 Help Now