Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Arnold Rebullida" <arnoldbr@optusnet.com.au>
To: netfilter@lists.netfilter.org
Subject: port forwarding for PPTP Server
Date: Sun, 18 May 2003 01:35:16 +1000	[thread overview]
Message-ID: <000801c31c89$ebc465c0$0500a8c0@station> (raw)

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

HI,

I have trying to setup MS PPTP server (192.168.10.11)  behind a linux firewall. I used the following scripts
eth0 is connected to the internet, eth1 is connected to PPTP server.


echo 1 > /proc/sys/net/ipv4/ip_forward
Iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1723 -j DNAT --to 192.168.10.11
iptables -t nat -A PREROUTING -i eth0 -p 47 -j DNAT --to 192.168.10.11

it doesn't seem to work. is there anything I missed? My kernel is 2.4.18-14.

please help

thanks

arnold

[-- Attachment #2: Type: text/html, Size: 1551 bytes --]

                 reply	other threads:[~2003-05-17 15:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000801c31c89$ebc465c0$0500a8c0@station' \
    --to=arnoldbr@optusnet.com.au \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox