pptp and nat problem
Hi !
I have to enable pptp traffic through my nat box (2.4.24, iptables 1.2.9, 2 interfaces (eth0 - private IP, eth1 - public IP)). I have compiled kernel (and iptables )with pptp-conntrack-nat.patch from patch-o-matic-20031219 with following options to kernel config:
...
Networking options
<*> IP: GRE tunnels over IP
[*] IP: broadcast GRE over IP
...
Networking options -> IP: Netfilter Configuration -> Connection tracking
<*> GRE protocol support
<*> PPTP protocol support
...
and it is not working. Right now i can not post a log from tcpdump ... Is there any possibility to check what contrack modules are switch on in working kernel ?
ps. any ideas ?
greetz
boka
PC Anywhere through firewall
Does anyone have an idea on how to route PC Anywhere through a firewall. I have set up the ports in the firewall to do DNAT to the IP address. Is that right? Or should I set it up to REDIRECT?
Chris
Register your team online today!
BOWL FOR KIDS'SAKE 2004
Saturday, March 6, 2004
www.bfkscentralohio.org
You'll be "bowled over" when our brochure "strikes" your mailbox at the end of January.sorry.we couldn't help ourselves! If you do not receive one, please contact me!
==============================================================
Chris Baker -- technical specialist
614-839-2447x108 -- [email protected] www.bbbscentralohio.org -- Big Brothers Big Sisters of Central Ohio Opinions expressed in this e-mail are solely my own.
The document(s) accompanying or within this email transmission may contain confidential information belonging to Big Brothers Big Sisters of Central Ohio, which is legally privileged for the entity named above. If you are not the intended recipient, you are hereby cautioned that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this email information is strictly prohibited. If you receive this email in error, please notify us immediately by fax (614-839-5437) or phone (614-839-2447) to advise of the error.
Re: PC Anywhere through firewall
Sure ... just setup a generic ssl tunnel and run it over that :)
If you are forwarding traffic is a internal box then DNAT is correct.
Michael.
Quoted 35 lines · On Thu, 12 Feb 2004 14:05:36 -0500 "Chris Baker" <[email protected]>…
Does anyone have an idea on how to route PC Anywhere through a firewall. I have set up the ports in the firewall to do DNAT to the IP address. Is that right? Or should I set it up to REDIRECT?
Chris
Register your team online today!
BOWL FOR KIDS'SAKE 2004
Saturday, March 6, 2004
www.bfkscentralohio.org
You'll be "bowled over" when our brochure "strikes" your mailbox at the end of January.sorry.we couldn't help ourselves! If you do not receive one, please contact me!==============================================================
Chris Baker -- technical specialist
614-839-2447x108 -- [email protected] www.bbbscentralohio.org -- Big Brothers Big Sisters of Central Ohio Opinions expressed in this e-mail are solely my own.The document(s) accompanying or within this email transmission may contain confidential information belonging to Big Brothers Big Sisters of Central Ohio, which is legally privileged for the entity named above. If you are not the intended recipient, you are hereby cautioned that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this email information is strictly prohibited. If you receive this email in error, please notify us immediately by fax (614-839-5437) or phone (614-839-2447) to advise of the error.
Signature · 3 lines
Michael Gale Network Administrator Utilitran Corporation
Re: PC Anywhere through firewall
In reply to Chris BakerVerify you have the needed Ports Open:
Status UDP 5632
Data TCP 5631
David
"Chris Baker"
<cbaker@bbbscentr
alohio.org> To
Sent by: <[email protected]>
netfilter-admin@l cc
ists.netfilter.or
g Subject
PC Anywhere through firewall
02/12/04 02:05 PM
Does anyone have an idea on how to route PC Anywhere through a firewall. I have set up the ports in the firewall to do DNAT to the IP address. Is that right? Or should I set it up to REDIRECT?
Chris
Register your team online today!
BOWL FOR KIDS'SAKE 2004
Saturday, March 6, 2004
www.bfkscentralohio.org
You'll be "bowled over" when our brochure "strikes" your mailbox at the end of January.sorry.we couldn't help ourselves! If you do not receive one, please contact me!
==============================================================
Chris Baker -- technical specialist
614-839-2447x108 -- [email protected] www.bbbscentralohio.org -- Big Brothers Big Sisters of Central Ohio Opinions expressed in this e-mail are solely my own.
The document(s) accompanying or within this email transmission may contain confidential information belonging to Big Brothers Big Sisters of Central Ohio, which is legally privileged for the entity named above. If you are not the intended recipient, you are hereby cautioned that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this email information is strictly prohibited. If you receive this email in error, please notify us immediately by fax (614-839-5437) or phone (614-839-2447) to advise of the error.
Re: PC Anywhere through firewall
iptables -t nat -A PREROUTING -p tcp -d $IP \
--destination-port 5631 -j DNAT --to $IP_INTERNAL
iptables -t nat -A PREROUTING -p udp -d $IP \
--destination-port 5632 -j DNAT --to $IP_INTERNAL----- Original Message -----
From: <[email protected]>
To: "Chris Baker" <[email protected]>
Cc: <[email protected]>; <[email protected]>
Sent: Thursday, February 12, 2004 2:49 PM
Subject: Re: PC Anywhere through firewall
Quoted 31 lines
Verify you have the needed Ports Open:
Status UDP 5632
Data TCP 5631David
"Chris Baker"
<cbaker@bbbscentr
alohio.org> To
Sent by: <[email protected]>
netfilter-admin@l cc
ists.netfilter.or
g Subject
PC Anywhere through firewall02/12/04 02:05 PM
Quoted 2 lines
Does anyone have an idea on how to route PC Anywhere through a firewall. I have set up the ports in the firewall to do DNAT to the IP address. Is
that
Quoted 9 lines
right? Or should I set it up to REDIRECT?
Chris
Register your team online today!
BOWL FOR KIDS'SAKE 2004
Saturday, March 6, 2004
www.bfkscentralohio.org
You'll be "bowled over" when our brochure "strikes" your mailbox at the
end
Quoted 24 lines
of January.sorry.we couldn't help ourselves! If you do not receive one, please contact me!
==============================================================
Chris Baker -- technical specialist
614-839-2447x108 -- [email protected] www.bbbscentralohio.org -- Big Brothers Big Sisters of Central Ohio Opinions expressed in this e-mail are solely my own.The document(s) accompanying or within this email transmission may contain confidential information belonging to Big Brothers Big Sisters of Central Ohio, which is legally privileged for the entity named above. If you are not the intended recipient, you are hereby cautioned that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this email information is strictly prohibited. If you receive this email in error, please notify us immediately by fax (614-839-5437) or phone (614-839-2447) to advise of the error.
Re: PC Anywhere through firewall
Quoted 5 lines · Moti Levy
iptables -t nat -A PREROUTING -p tcp -d $IP \
--destination-port 5631 -j DNAT --to $IP_INTERNAL
iptables -t nat -A PREROUTING -p udp -d $IP \
--destination-port 5632 -j DNAT --to $IP_INTERNALOr, translated to Mandrake's dialect of Shorewall rules:
DNAT net masq:$IP_INTERNAL tcp 5631
DNAT net masq:$IP_INTERNAL udp 5632
-Tom
Signature · 3 lines
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [email protected]