Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to line 1 51
Need help setting up kerberos 2 39
linux, squid server 23 53
Quickest way to query Windows Event ID from a Linux Device 3 31
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
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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