Re: [Ebtables-user] brouting on interfaces without IP address

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Op do, 13-10-2005 te 23:55 +0200, schreef Carl-Daniel Hailfinger:
> bridge:~ # ebtables -t nat -L --Lx
> ebtables -t nat -N ifacefilter-int
> ebtables -t nat -N proxy
> ebtables -t nat -A PREROUTING -i bridgeint -j ifacefilter-int
> ebtables -t nat -A ifacefilter-int -p IPv4 --ip-src 192.168.0.0/24 
> --ip-proto tcp --ip-dport 80 -j proxy
> ebtables -t nat -A proxy -j mark --set-mark 0x1 --mark-target CONTINUE



> ebtables -t nat -A proxy -j dnat --to-dst 00:11:22:33:44:55 
> --dnat-target ACCEPT

Make this 00:01:02:03:04:05, or just use -j redirect

cheers,
Bart


_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux