[SOLVED ! See last post]
Hi !
Have a Zope Web Server running fine on my LAN gateway/firewall PC,
But I found impossible to open access to this Web Server from outside the LAN
* Here is the LAN :
Static IP ethernet ADSL modem
|
|
[eth0] gateway/firewall PC with iptables & Zope Web Server [eth1]
|
|
LAN
gateway/firewall PC's
/etc/hosts file is :
Code:
127.0.0.1 localhost
127.0.0.1 llewellyn
* Here is the IPTABLES rule that I thought would allow access to the Web Server on the gateway/firewall PC :
Code:
iptables -A INPUT -p tcp -i eth0 --dport [Server_Port] --sport 1024: \
-m state --state NEW -j ACCEPT
Now, that server is awfully unaccessible from outside (many of my relatives were requested to give it a try

)
Despites, I have full access to it from a LAN PC
with public IP:PORT
I'm way too new to IPTABLES to analyze the logs

but here's what i see when a guy tries to access the Web server :
Code:
Aug 26 20:59:31 llewellyn IN=eth0 OUT= MAC=00:40:f4:49:e6:3e:00:07:cb:02:3c:3e:08:00
SRC=60.16.83.XXX
DST=82.67.96.XX
LEN=40 TOS=0x00 PREC=0x00 TTL=102 ID=22867 DF PROTO=TCP
SPT=3442
DPT=XXXX
WINDOW=64800 RES=0x00 ACK URGP=0
where 60.16.83.XXX is that guy's IP & 82.67.96.XX my static IP,
and
3442 that guy's source Port & XXXX the port my web server is listening to.
Any advice would be really appreciated
