Network Tips
This section is a comprehensive guide to various topics related to Networking, including disabling IPv6. There are also topics on how to use different VPN services and redirect network traffic.
- Disable IPV6
- Open an application over socks
- Redirecting the whole network traffic
- Simple python http server
- Monitoring traffic
Disable IPV6
sudo nano /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -p
Open an application over socks
torsocks deluge
tsokcs deluge
Redirecting the whole network traffic
sudo ip route add 192.168.1.0/24 dev ppp0
# ppp0: vpn name
# 192.168.1.0: IP range
Simple python http server
python3 -m http.server --bind 0.0.0.0 --cgi 8000
Monitoring traffic
sudo pacman -Sy sniffnet
sniffnet