User Tools

Site Tools


docu:csheet:sysadm:venv:docker:netns_exec

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
docu:csheet:sysadm:venv:docker:netns_exec [2020/10/13 15:26] admindocu:csheet:sysadm:venv:docker:netns_exec [2020/10/13 15:27] (current) admin
Line 15: Line 15:
 nsenter -t PID -n telnet 2.3.4.5 80 nsenter -t PID -n telnet 2.3.4.5 80
 nsenter -t PID -n iptables -A OUTPUT -d 1.2.3.4 -p udp --dport 53 -j ACCEPT  nsenter -t PID -n iptables -A OUTPUT -d 1.2.3.4 -p udp --dport 53 -j ACCEPT 
 +nsenter -t PID -n netstat -lptuan
 # or whatever network-related command you want to exec # or whatever network-related command you want to exec
 </code> </code>
docu/csheet/sysadm/venv/docker/netns_exec.1602602778.txt.gz · Last modified: 2020/10/13 15:26 by admin