SuSE Firewall 2 & port redirection (again)
![](https://seccdn.libravatar.org/avatar/48bfcfbdd29cdc349f1dc8225a27cc1a.jpg?s=120&d=mm&r=g)
Hi all Some days ago i have posted about a problem to redirect some ports. Then i think that iptables or something at the kernel was not working. So i have try with various options: - Kernel 2.4.4 that comes with SuSE and SuSEFirewall2. The options to forward ports doesn't work. I have recompiled that kernel with Netfilter in the kernel, and nothing changes. Then i have tried to use some basic script in ipchains to masq my internal network and over it i have tried to use ipmasqadm in this way: ipmasqadm portfw -a -P tcp -L $REAL_IP 80 -R $INTERNAL_IP 80 and this was the ouput: portfw: setsockopt failed: Invalid argument Then i tried to use some proxy software who redirects ports. Installed "redir" in rpm and compiled from tar.gz. The option to redirect as transparento proxy didn't work. Only the the normal option, which not writes the real ip of the visitor on my web logs. Another option that i have tried is the ProxyPass from Apache, and it works, but is too slow, damn too slow. :( -Kernel 2.2.19 that comes with SuSE and SuSEFirewall and either it didn't work. The main problem at this point was setup mi network harware (One rtl8139 card and one d-link who uses the same module rtl8139. Here is the ouput from lspci -v: 00:10.0 Ethernet controller: D-Link System Inc: Unknown device 1300 (rev 10) Subsystem: D-Link System Inc: Unknown device 1301 Flags: bus master, medium devsel, latency 32, IRQ 10 I/O ports at d800 [size=256] Memory at e0000000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 00:11.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Flags: bus master, medium devsel, latency 32, IRQ 12 I/O ports at dc00 [size=256] Memory at e0001000 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 I was unable to setup both cards with that kernel. - Kernel 2.4.10 downloaded from kernel.org compiled and installed. Everiting works except damn port redirecting !!! Now, after all this work i don't know what is happening. May be some hardware issue?? My body smells of caffeine... and mi boss's face is not too good... Help please :( Alfred
![](https://seccdn.libravatar.org/avatar/52531f206b305330e7f945dc6b62c993.jpg?s=120&d=mm&r=g)
-Kernel 2.2.19 that comes with SuSE and SuSEFirewall and either it didn't work. The main problem at this point was setup mi network harware (One rtl8139 card and one d-link who uses the same module rtl8139. Here is the ouput from lspci -v: When loading the module for the D-Link , set the io to d800 [I *think* it is "io=0xd800" but that may be wrong - fiddle =o)] When loading the module for the other, set the io to dc00 - as above If you are using YaST, when you select the module for the network card, at it to the "module options" box.
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.281 / Virus Database: 149 - Release Date: 18/09/2001
participants (2)
-
Alfredo Flores H.
-
Jon Jeffels