M
MUDr. Tomá¹ Hosszú
Hi.
I have a notebook, with windows XP professional. I am using it in different
networks, mostly in two of them, with completely different configuration,
switching networks even several times a day.
network1: DHCP, smtp: mail-proxy, pop3: mail-proxy, internet connection
works only through proxy: proxy:80 - http and ftp support.
network2: DHCP, smtp: mail.smtpserver.cz, pop3. mail.popserver.cz, internet
connection works without proxy setting (transparent one).
and much more, it would be very good to change MAC adress for each network
different.
I couldnt find any workable winxp solution, like click-and-run-connected for
network profiles. all the software i found on internet is terrible, all of
them need restart and all can set proxies only for browser (IE or
netscape). (I use about 30 different aplication for internet communication
so what about the rest of them ?? i dont want always change application
preferences)
in linuxbox, the solution is simple and takes these steps.
1. mac setting - easy - ifconfig eht0 hw ether 00:00:00:00:00:00
2. local proxy server, no caching, sitting on 127.0.0.1:3128
3. NAT, e.g. for pPOP3 - iptables -t nat -A OUTPUT -s 127.0.0.1:110 -d
mymailserver:110 -j dNAT and same thing for proxy in network1.
(then setting all programs I use to proxy on localhost and mailservers to
localhost, NAT will do reroute things for me in different networks). these
several lines can be put in script, so changing network is just running
script - no restart, even of the applications using network connection.
How to do this is Win XP Pro ??
- yes, I found out how to change mac adress in .bat file - importing
registry record and devcon restart of that device. I really do not like that
registry operations for this, but it works.
- yes, the proxy can be installed - there is a lot of different available.
- no idea of how the NAT can be done - netsh routing ip add ..... says "NAT
must be installed first", and no documentation about this error code.....is
at least netsh the correct tool for NAT ?
OR maybe completely different solution ??
I wonder nobody has solved this problem (nothing on gooogle), this would be
a perfect application - I imagine - system tray icon..click...select
networking...GO !
thanks for any ideas.
tomas.h.
I have a notebook, with windows XP professional. I am using it in different
networks, mostly in two of them, with completely different configuration,
switching networks even several times a day.
network1: DHCP, smtp: mail-proxy, pop3: mail-proxy, internet connection
works only through proxy: proxy:80 - http and ftp support.
network2: DHCP, smtp: mail.smtpserver.cz, pop3. mail.popserver.cz, internet
connection works without proxy setting (transparent one).
and much more, it would be very good to change MAC adress for each network
different.
I couldnt find any workable winxp solution, like click-and-run-connected for
network profiles. all the software i found on internet is terrible, all of
them need restart and all can set proxies only for browser (IE or
netscape). (I use about 30 different aplication for internet communication
so what about the rest of them ?? i dont want always change application
preferences)
in linuxbox, the solution is simple and takes these steps.
1. mac setting - easy - ifconfig eht0 hw ether 00:00:00:00:00:00
2. local proxy server, no caching, sitting on 127.0.0.1:3128
3. NAT, e.g. for pPOP3 - iptables -t nat -A OUTPUT -s 127.0.0.1:110 -d
mymailserver:110 -j dNAT and same thing for proxy in network1.
(then setting all programs I use to proxy on localhost and mailservers to
localhost, NAT will do reroute things for me in different networks). these
several lines can be put in script, so changing network is just running
script - no restart, even of the applications using network connection.
How to do this is Win XP Pro ??
- yes, I found out how to change mac adress in .bat file - importing
registry record and devcon restart of that device. I really do not like that
registry operations for this, but it works.
- yes, the proxy can be installed - there is a lot of different available.
- no idea of how the NAT can be done - netsh routing ip add ..... says "NAT
must be installed first", and no documentation about this error code.....is
at least netsh the correct tool for NAT ?
OR maybe completely different solution ??
I wonder nobody has solved this problem (nothing on gooogle), this would be
a perfect application - I imagine - system tray icon..click...select
networking...GO !

thanks for any ideas.
tomas.h.