PDA

Bekijk de volledige versie : Enable TFTP on WAN port



Atter
18-09-2008, 18:17
Hi!

I have a big problem. I installed the latest Oleg firmware, configured everything with the help of Wengi's tutorial.
Everything was all right until i want to create a TFTP server on the router.
I installed HPA TFTP and configured it. I tested it from my computer which is connected to a LAN interface. I can get the needed file from the router through TFTP.
But here comes the problem... I connected my modem to the WAN port of the router but it can't able to get the file from the router.
I disconnected the modem, setted up a fix IP for the router's WAN port and tried to get the file from the TFTP but with no success...
I connected my notebook to a LAN port, everything was ok.
My PC was connected to the WAN port directly but i cant get the file...
I tried to ping the WAN IP from my notebook, it's working.
I tried to ping my PC's IP but with no luck.
From the router i can ping the WAN port, the Router's IP and my notebook's IP but cant ping my PC.

I tried it with my PC but I cant able to ping anything nor the WAN, LAN, nor my notebooks IP...

Firewall is enabled,
Enable Web Access from WAN: Enabled
Respond LPR Rewuest from WAN: Yes
Respond Ping Request from WAN: Yes
Enable WAN to LAN filter: No
Added a line to iptables:
ACCEPT udp -- anywhere anywhere udp dpt:tftp

What should I do to enable the TFTP through WAN port?
Please help!

WBR.: AtTeR

Atter
21-09-2008, 23:02
Nobody can help me?
I even cant able to reach my modem's configuration page :(
Router's IP: 192.168.100.2
Modem's IP: 192.168.100.1

My IPTables is:
[Atter@WL500GP root]$ iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:55000 flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
ACCEPT all -- anywhere anywhere state NEW
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
ACCEPT tcp -- anywhere WL500GP tcp dpt:www
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT icmp -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:printer
ACCEPT tcp -- anywhere anywhere tcp dpt:laserjet
ACCEPT tcp -- anywhere anywhere tcp dpt:3838
ACCEPT udp -- anywhere anywhere udp dpt:tftp
DROP all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate DNAT
DROP all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:tftp

Chain MACS (0 references)
target prot opt source destination

Chain SECURITY (0 references)
target prot opt source destination
RETURN tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5
RETURN tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
RETURN udp -- anywhere anywhere limit: avg 5/sec burst 5
RETURN icmp -- anywhere anywhere limit: avg 5/sec burst 5
DROP all -- anywhere anywhere

Chain logaccept (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `ACCEPT '
ACCEPT all -- anywhere anywhere

Chain logdrop (0 references)
target prot opt source destination
LOG all -- anywhere anywhere state NEW LOG level warning tcp-sequence tcp-options ip-options prefix `DROP '
DROP all -- anywhere anywhere


Please help me!
1. I want to access my modem's config page through the router.
2. I want to enable TFTP traffic through WAN port. Because from the LAN side it's working good but not on the WAN side :(

raas
22-09-2008, 07:37
Hi,

maybe you've to open up port:21 in the firewall