Date/Time: 2006-04-25 22:25 (UTC)Posted by: [identity profile] drax0r.livejournal.com
building a robotic version of one our guys out of bluetooth automatic handset lifters and power bricks

Might I suggest using an X-box?



I still need to learn IPchains and configure my new slackware 'router' at home

I highly suggest using an iptables cookbook/tutorial page. ipchains is for 2.2 kernels. iptables is the new hotness.

My NAT on sol is configured with one line in rc.inet1:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

I've also got a script set up to do port forwarding as necessary for things like VNC:

#!/bin/bash
ADDR=`ifconfig eth0|grep 'inet addr'| awk '{print $2}'| awk -F ":" '{print $2}'`

iptables -A PREROUTING -t nat -p tcp -d $ADDR --dport 5902 -j DNAT --to 192.168.1.44:5900
iptables -A OUTPUT -t nat -p tcp -d $ADDR --dport 5902 -j DNAT --to 192.168.1.44:5900
iptables -A PREROUTING -t nat -p tcp -d $ADDR --dport 5901 -j DNAT --to 192.168.1.4:5901
iptables -A OUTPUT -t nat -p tcp -d $ADDR --dport 5901 -j DNAT --to 192.168.1.4:5901

That's all. iptables is a very powerful tool, but it can also be implemented in a minimal way.



Today will be the second day in a row of NOT watching The Sopranos.

At the rate you're going you'll be able to watch season 5 on DVD right after you finish 4.



Pro-Truth is funny. BSG toys rock.

Love for the biographical information!
This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

September 2025

S M T W T F S
 1 2 3 4 56
789 1011 1213
14 1516 17 181920
21222324252627
282930    

Most Popular Tags

Expand Cut Tags

No cut tags