dhcrelay
hi jeff and tanx for answering :)
i'm sure i have ip forward enabled, since gateway 2 is working fine and routing packets ok through the lan and to gateway 1. if it happened not to have ip forward enabled in gateway 2 i could never do masquerading from gateway 2 to gateway 1 :)
isn't that so? :)
i think this might be a matter of finding out some bind tricks to get this over with... i just wanted to be sure input and output to drop would not have anything to do with dhcrelay :))
i'm gonna test it with no firewalling at all to see what happens ;))
[][]
unix is user friendly. it's just selective when choosing
friends.
-------------------------------------------------
Email Enviado utilizando o serviço MegaMail
Quoted 10 lines · zynkx
hi jeff and tanx for answering :)
i'm sure i have ip forward enabled, since gateway 2 is working fine and routing packets ok through the lan and to gateway 1. if it happened not to have ip forward enabled in gateway 2 i could never do masquerading from gateway 2 to gateway 1 :)
isn't that so? :)
Yes. If you're not sure then: "echo 1 >/proc/sys/net/ipv4/ip_forward" will turn it on.
Quoted 8 lines
i think this might be a matter of finding out some bind tricks to get this over with... i just wanted to be sure input and output to drop would not have anything to do with dhcrelay :))
i'm gonna test it with no firewalling at all to see what happens ;))
I'm afraid I don't have any experience with a configuration like your's but I don't think iptables will have any effect on dhcp requests. Good luck.
Jeff
Am Sam, 2003-11-29 um 01.56 schrieb zynkx:
Quoted 6 lines
i'm sure i have ip forward enabled, since gateway 2 is working fine and routing packets ok through the lan and to gateway 1. if it happened not to have ip forward enabled in gateway 2 i could never do masquerading from gateway 2 to gateway 1 :)
dhcrelay is a local application. It works as a proxy. You have to allow incoming packets on broadcast and unicast address in your INPUT chain. Again the OUTPUT chain must be open, too. DHCP is not forwarded.
Quoted 2 lines
i'm gonna test it with no firewalling at all to see what happens ;))
It won't work.
Cheers,
Ralf
Signature · 7 lines
Ralf Spenneberg RHCE, RHCX Book: VPN mit Linux Book: Intrusion Detection für Linux Server http://www.spenneberg.com IPsec-Howto http://www.ipsec-howto.org Honeynet Project Mirror: http://honeynet.spenneberg.org