Sorry my mistake.
INTERN_WWW_SERVER=192.168.1.203 is uncomented on lrp box the rest of changes below on thttpd box.
Commands ran on thttpd box:
ip addr
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope global lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:80:c8:35:20:e9 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.203/24 brd 192.168.1.255 scope global eth0

ip route
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.203
default via 192.168.1.254 dev eth0
net ipfilter list
Chain input (policy ACCEPT: 59 packets, 6090 bytes):
Chain forward (policy ACCEPT: 0 packets, 0 bytes):
Chain output (policy ACCEPT: 43 packets, 3464 bytes):
AutoFW:
MarkFW:
PortFW:

netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:1023 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN udp 0 0 0.0.0.0:69 0.0.0.0:* raw 0 0 0.0.0.0:1 0.0.0.0:* 7 raw 0 0 0.0.0.0:6 0.0.0.0:* 7 Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 0 [ ACC ] STREAM LISTENING 1111 /dev/log
Thanks for help
Andrey


Charles Steinkuehler wrote:

C. Dummy wrote:

I'm trying to put thttpd behind lrp box on ip 192.168.1.203. I made lrp floppy with etc,ifconfig,local,modules,ramlog,root,thttpd and www-data packages. I edited syslinux.cfg so all packages load no errors and problems. I edited network.conf
CONFIG_DNS=YES
IF_AUTO="eth0"
eth0_IPADDR=192.168.1.203
eth0_MASKLEN=24
eth0_DEFAULT_GW=192.168.1.254
eth1_IPADDR=
eth1_MASKLEN=
IPFILTER_SWITCH=none
EXTERN_DHCP=NO
INTERN_WWW_SERVER=192.168.1.203 # Internal WWW server to make available (on lrp box)

When I boot the floppy I don't get any errors and I can ping machines on LAN no problem. Thttpd and www-data are original files from packages(no changes made) I can't see anything from LAN using http://192.168.1.203(connecting... and nothing no message it just dies) or http://ip.binded.to.lrp.box(the connection was refused when attempting to contact
ip.binded.to.lrp.box) can't see anything from outside either(the page cannot be displayed). Where is the problem?
Thanks for help. I'm complete newbie with setting up web server sorry if this sounds silly.
Andrey
P.S.Ifconfig
inet addr:192.168.1.203 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCASTRUNNING MULTICAST MTU:1500 Metric:1

Turn off the port-forwarding, which makes no sense in your situation. To do this, comment out the last line above, ie:

# INTERN_WWW_SERVER=192.168.1.203

Other than that, if you need any more help, you should provide the output of the following commands, so we know more about your system setup:

ip addr
ip route
net ipfilter liet
netstat -ln




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Reply via email to