Hide IP for some users
Hello
Is it possible to assign a couple of IPs to some users on the box, so when they ftp, ircs or something the servers they connect to doesn't see my IP, but only the assigned IPs ??
It seems like it´s possible, but haven't had any luck with it.
// Joachim
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
hi!
You could mark the packets with the iptables owner extension (-m owner --gid-owner lusers), make some aliased interfaces and user the netfilter mark to route them out of these. hope that helps,
patrick
Quoted 7 lines · Joachim Wickman
Hello
Is it possible to assign a couple of IPs to some users on the box, so when they ftp, ircs or something the servers they connect to doesn't see my IP, but only the assigned IPs ??
Quoted 7 lines
It seems like it´s possible, but haven't had any luck with it.
// Joachim
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
I thought so too, but can't get it to work. So I was thinking maybe I'm doing something wront..
This is what I came up with.
iptables -t mangle -A OUTPUT -m owner --uid-owner 1006 -j MARK --set-mark 0x15
ip rule add fwmark 0x15 table vhost1
ip ro add default via 192.168.10.2 src 192.168.10.8 dev eth0 table vhost1 ip ro f ca
But no success... All trafic is still going out the box from my IP and not the virtual.
Quoted 17 lines · Patrick McHardy
hi!
You could mark the packets with the iptables owner extension (-m owner --gid-owner lusers), make some aliased interfaces and user the netfilter mark to route them out of these. hope that helps,
patrickQuoted 9 lines · Joachim Wickman
Hello
Is it possible to assign a couple of IPs to some users on the box, so when they ftp, ircs or something the servers they connect to doesn't see my IP, but only the assigned IPs ??
It seems like it´s possible, but haven't had any luck with it.
Quoted 9 lines
Quoted 5 lines
// Joachim
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 9 lines · On Fri, 25 Jan 2002 10:30:11 +0200 (EET) Joachim Wickman <[email protected]>…
Hello
Is it possible to assign a couple of IPs to some users on the box, so when they ftp, ircs or something the servers they connect to doesn't see my IP, but only the assigned IPs ??
It seems like it´s possible, but haven't had any luck with it.
// Joachim
I am not sure what you want to do ...
But if you want to assign the same source address for all connection you must use the SAME patch. the syntax is
iptable -t nat A POSTROUTING -j SAME -to oldaddr-newaddr
where
oldaddr = X.X.X.X your ip address
newaddr = X.X.X.X your visible ip address
PS : perhaps now this patch is include in standart distribution ?
Quoted 9 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
yes and use iproute2 "src" command to select the sourse ip for outgoing traffic
devik
Quoted 17 lines · Patrick McHardy
hi!
You could mark the packets with the iptables owner extension (-m owner --gid-owner lusers), make some aliased interfaces and user the netfilter mark to route them out of these. hope that helps,
patrickQuoted 9 lines · Joachim Wickman
Hello
Is it possible to assign a couple of IPs to some users on the box, so when they ftp, ircs or something the servers they connect to doesn't see my IP, but only the assigned IPs ??
It seems like it´s possible, but haven't had any luck with it.
Quoted 10 lines
Quoted 5 lines
// Joachim
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/