[nos-bbs] IP Chains Question
Chris Maness
christopher.maness at gmail.com
Mon Dec 19 18:52:59 EST 2022
I am trying to connect another BPQ instance that I sysop for to my
JNOS. I am using the three IP tables rules so for and two work great:
This is so that packets outbound from JNOS have the correct source IP
address on the outside IPIP frame:
# sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
This is so that incoming AX.25/IP packets make it to JNOS:
# sudo iptables -t nat -A PREROUTING -p 93 -d 104.180.91.154 -j DNAT \
--to-destination 44.18.44.1
The AB6MV system is sysop by me and behind a firewall with port forwarding.
working between two instances of BPQ. This rule is not picking up the
output of the target DNAT to 44.18.44.1.
# sudo iptables -t nat -A PREROUTING --dst 104.180.91.154 -p udp --dport \
10093 -j DNAT --to-destination 44.18.44.1
Here is the output from:
# sudo iptables -t nat -n -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT 93 -- 0.0.0.0/0 104.180.91.154 to:44.18.44.1
DNAT udp -- 0.0.0.0/0 104.180.91.154 udp
dpt:10093 to:44.18.44.1
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
If you guys could look at this and see what I blew I would appreciate it.
--
Thanks,
Chris Maness
More information about the nos-bbs
mailing list