I am trying to setup a printer in a WNDR3700v2 router running
12.09-rc1 per http://wiki.openwrt.org/doc/howto/p910nd.server. But I
do not think that is the issue; I am just having a weird firewall
rule. So, in /etc/config/firewall I have
# Allow lan
config 'rule'
option 'src' 'lan'
option 'proto' 'tcp'
option 'dest_port' '9100'
option 'target' 'ACCEPT'
# Allow wifi1
config 'rule'
option 'src' 'wifi1'
option 'proto' 'tcp'
option 'dest_port' '9100'
option 'target' 'ACCEPT'
When I try to do probe the port from a machine in the lan, it works fine:
(on lan-client)
nc -v therouter 9100
Connection to therouter 9100 port [tcp/hp-pdl-datastr] succeeded!
(tcpdump on router)
tcpdump -i br-lan port 9100
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-lan, link-type EN10MB (Ethernet), capture size 65535 bytes
15:33:09.748282 IP 192.168.1.234.51684 > therouter.lan.9100: Flags
[S], seq 3385882950, win 14600, options [mss 1460,sackOK,TS val
1556565 ecr 0,nop,wscale 7], length 0
15:33:09.748451 IP besoulo.lan.9100 > 192.168.1.234.51684: Flags [S.],
seq 4022696148, ack 3385882951, win 14480, options [mss 1460,sackOK,TS
val 8376261 ecr 1556565,nop,wscale 1], length 0
15:33:09.748697 IP 192.168.1.234.51684 > besoulo.lan.9100: Flags [.],
ack 1, win 115, options [nop,nop,TS val 1556565 ecr 8376261], length 0
But it does not work on a client in the vlan:
Client (on wlan1)
nc -v 10.0.20.1 9100
nc: connect to 10.0.20.1 port 9100 (tcp) failed: Connection refused
tcpdump -i wlan1 port 9100
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan1, link-type EN10MB (Ethernet), capture size 65535 bytes
15:24:26.776357 IP ml.lan.53701 > 10.0.20.1.9100: Flags [S], seq
3529728087, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val
387621751 ecr 0,sackOK,eol], length 0
15:24:26.776534 IP 10.0.20.1.9100 > ml.lan.53701: Flags [R.], seq 0,
ack 3529728088, win 0, length 0
Suggestions?
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users