LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-16-2003, 01:49 PM   #1
Asymmetric79
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Question Protocol 47 and Port Forwarding


Good Afternoon,

I am new to Linux. There is a machine on my network running as a gateway. It uses IP Chains, and port forwarding is on.

I want to set up a VPN -- I have the software all ready to go, and mostly tested. The only thing left for me to do is forward the port for external IP addresses to be redirected to the VPN's IP address.

From what I've read, my VPN server runs on port 1723. I've entered a command in IPchains (this is an old Linux box) to forward port 1723 to IP address 192.168.1.120 (the VPN server).

Now, I'm not even sure if that worked.

How would I, in IPChains, set up port forwarding to my VPN server? I want only those ports necessary for a Windows XP Pro VPN server to be accessible to the outside world (hence, the VPN).

I also read something about making sure protocol 47 is enabled or forwarded to the VPN server. I'm not sure what that is supposed to mean.

Can anyone shed some light on my dark situation? I'm in need of some serious help!

Thanks,
Asym
 
Old 07-16-2003, 02:41 PM   #2
Asymmetric79
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Post Clarification

Sorry,

Allow me to be more clear. Here is my current network setup:


1. My network is a peer-to-peer network without a domain controller. No DHCP, no DNS; machines simply supply 192.168.1.1 as their gateway and specify their own static IP address (192.168.1.x).

2. My VPN server is a windows XP professional machine (IP 192.168.1.120). It only has one network interface.

3. The machines on the network use 192.168.1.1 as their default gateway (for internet access).

4. 192.168.1.1 is my Linux box gateway, it has two network cards. One interface is internal (eth1 - 192.168.1.1), and the other is external (eth0 - 64.x.x.x)


I want to give outside IP addresses access to the VPN server (which is behind the linux gateway) .

How do I use IPChains to route port 1723 to the VPN server? I'm not comfortable upgrading from IPChains to IPTables, so any info on how to do it in IPChains is greatly appreciated.

If anyone knows any other info about Windows XP VPN setup, I'd appreciate a little help.

Thanks,
Asym
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 08:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 01:08 PM
Port 80 forwarding to port 22 with iptables zahoo Linux - Networking 3 02-22-2005 08:22 AM
Port/Protocol forwarding Neorio Linux - Networking 4 04-12-2004 12:35 PM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 11:37 AM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration