http://paste.phcn.net/?i=1500232382
-

Hide Linenumbers

GeSHi highlighting lib © 2004, Nigel McNie.
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 #!/bin/bash   # steamstream.sh by DarthShredder@phcn.ws # run with "sudo steamstream.sh" in a Console on your Desktop # edit the variables before run!   # Interface to bridge to (your LAN): realeth=eth0 # IP and GW in your LAN: ipadd=192.168.0.11/24 ipbr=192.168.0.255 ipgw=192.168.0.1 # Your Linux User that runs Steam (not SteamLogin): linuxuser=darthshredder   # Commands: ip netns add steam ip link add veth0 type veth peer name veth1 brctl addif $realeth veth1 ip link set veth0 netns steam ip netns exec steam ip link set dev veth0 up ip link set dev veth1 up ip netns exec steam ip link set lo up ip netns exec steam ip addr add $ipadd broadcast $ipbr dev veth0 ip netns exec steam ip route add default via $ipgw # Run Steam: ip netns exec steam su $linuxuser -c steam  
Parsed in 0.003 seconds, using GeSHi - May the source be with you!