New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
ip -4 addr flush
how do I add back ipv4?
Check your network settings and save them before flush may be the easiest way :P
I would advise not doing that... 127.0.0.0/8 is used for a lot of things.
Again ... network settings.
Open with editor
/etc/network/interfaces
or wherever are your networking settings, remove IP and restart network service/etc/init.d/networking restart
well if you know other solutions to hide ipv4 when browsing the internet, I'm happy to hear them cause I run squid proxy server
If that is your goal, just remove the IPv4 gateways.
How do I make these changes permanent? cause the settings reset when I reboot
Edit the network config file..
Tell host to unplug ethernet cables
Edit the file /etc/sysctl.conf and add the line "net.ipv4.conf.all.disable_ipv4=1". Then run the command "sudo sysctl -p" to apply the change.
Is that just to prevent unwanted clients connecting to the proxy? or to hide your identity? Surely a chunk of the internet you want to access is still IPv4 only and you won't be able to connect to that.
Configuring acls in squid.conf to disallow IPv4 connections would seem far less extreme.
Again, I would advise against doing that.. A lot of internal processes use 127.0.0.0/8 and localhost as whatever non loopback IP is on the system.
Yeah, doing that for ipv6 is pretty safe as nothing is really written to assume it's presence but with v4 id be a little more cautious. Expect to not get a lot of useful logs (if there'll be any at all) when something "realizes" (or really 100% unexpectedly sees some syscall fail) that it can't bind to 127.0.0.1 and/or friends.