hey linux networking peeps
Jun. 23rd, 2017 10:32 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I’m finally getting back to working on a new gateway/router server and I’m basically setting up this old-school sort of DMZ, with the rest of our servers hanging off one card, and our internal LAN/DHCP/NAT side hanging off the other. (Using ISC, which Debian seems to like.) And all of that seems to be right from the new server’s perspective, which is yay!
Except there’s no packet forwarding from the DHCP side even though it’s enabled and I’m sure I enabled it and yes the kernel thinks its enabled but it isn’t happening.
Any ideas where to start?
Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby
HALLO IS IT PLUGGED IN
Date: 2017-06-24 01:05 pm (UTC)Re: HALLO IS IT PLUGGED IN
Date: 2017-06-25 04:39 am (UTC)Hmmmmm the package seems to be isc-dhcp-relay and the commonality of name prefix implies maybe so, though.
Re: HALLO IS IT PLUGGED IN
Date: 2017-06-25 09:39 am (UTC)Re: HALLO IS IT PLUGGED IN
Date: 2017-06-25 03:50 pm (UTC)Re: HALLO IS IT PLUGGED IN
Date: 2017-06-25 10:11 pm (UTC)(This server is the DHCP server.)
no subject
Date: 2017-06-25 09:15 pm (UTC)Quick checklist of "did you plug it in" things:
sysctl net.ipv4.ip_forward
== 1iptables -t nat -L
has proper entries (IPs and interfaces) for all your networks inPOSTROUTING
(andPREROUTING
for anything in the DMZ with forwarded ports).iptables -L
has appropriateACCEPT
rules in theFORWARD
chain.INPUT
andOUTPUT
) that would drop packets that would otherwise be routable.More details would be helpful -- what exactly are you observing that suggests forwarding isn't happening? (Wireshark/tcpdump, missing TCP ACKs, etc.?)
If none of the above rings a bell, I suggest taking tcpdump traces on the router at your ingress and egress interfaces, and comparing what's coming in with what's going out. That would help narrow things down.
no subject
Date: 2017-06-25 10:18 pm (UTC)The DMZ article I linked above in the main post is exactly what I am trying to set up, but I am not seeing packets forwarded once I've gone through their steps. From that article, I used masquerading setup that results in:
...which I hope is correct, it seems to go along with the sort of thing they were describing.
iptables -L is currently set with no filtering on forwarding (ACCEPT for all).