Networking Forums

Networking Forums > Computer Networking > Linux Networking > masquerading with SUSE 9.3

Reply
Thread Tools Display Modes

masquerading with SUSE 9.3

 
 
marcuso
Guest
Posts: n/a

 
      04-11-2006, 09:39 AM
Hi folks,
desperately I try to configure a SUSE 9.3 machine as gateway and proxy
from the outside world to an internal http Windows server using
NAT-Masquerading. The opposite direction functions well, I can connect
with all pc's and servers to the internet and the public IP's are
masqueraded. But I need to route from the outside world let's say
295.176.186.193:8090 -> 10.1.1.64:80. I configured like this using
YAST-Masquerading. Nevertheless it doesn't work, calling
295.176.186.193:8090 from outside results in the error CONNECTION
REFUSED WHEN ATTEMPTING TO CONTACT 295.176.186.193.

Here some infos:

netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
295.176.186.192 0.0.0.0 255.255.255.224 U 0 0
0 eth1
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0
0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
0 lo
0.0.0.0 295.176.186.193 0.0.0.0 UG 0 0
0 eth1

route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
295.176.186.192 * 255.255.255.224 U 0 0 0
eth1
10.1.1.0 * 255.255.255.0 U 0 0 0
eth0
link-local * 255.255.0.0 U 0 0 0
eth0
loopback * 255.0.0.0 U 0 0 0
lo
default gwe-e0 0.0.0.0 UG 0 0 0
eth1



iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- 295.176.186.192/27 gw.intranet.unimi.it tcp
dpt:http to:10.1.1.124:80
DNAT tcp -- anywhere gw.intranet.unimi.it tcp
dpt:hosts2-ns to:10.1.1.125:81

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


Any idea what's wrong ??
Thanx a lot....

 
Reply With Quote
 
 
 
 
marcuso
Guest
Posts: n/a

 
      04-11-2006, 11:16 AM
....I flushed also the iptables

IGEL:~ # iptables -t filter -vL
Chain INPUT (policy ACCEPT 1570 packets, 181K bytes)
pkts bytes target prot opt in out source
destination

Chain FORWARD (policy ACCEPT 7533 packets, 3032K bytes)
pkts bytes target prot opt in out source
destination

Chain OUTPUT (policy ACCEPT 487 packets, 52106 bytes)
pkts bytes target prot opt in out source
destination

Chain forward_ext (0 references)
pkts bytes target prot opt in out source
destination

Chain forward_int (0 references)
pkts bytes target prot opt in out source
destination

Chain input_ext (0 references)
pkts bytes target prot opt in out source
destination

Chain input_int (0 references)
pkts bytes target prot opt in out source
destination

Chain reject_func (0 references)
pkts bytes target prot opt in out source
destination
IGEL:~ #

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
masquerading with SUSE marcuso Linux Networking 8 03-22-2006 10:36 AM
Suse 10 DNS, firewall, or masquerading problem? Ger Linux Networking 6 12-09-2005 04:18 PM
SUSE 9.3 Professional, problem with masquerading Aco Linux Networking 1 05-18-2005 04:18 AM
Can see Suse and Window server, but can't access SuSe shares Suicyco Linux Networking 0 08-10-2004 01:49 AM
Problem regarding Bridging, MTU, Masquerading 802.1q VLANs on SuSE 9.0 Michael Knaus Linux Networking 0 05-16-2004 07:03 AM



1 2 3 4 5 6 7 8 9 10 11