Use nm-connection-editor instead of iptables?

Asked by Bernhard Reiter

In order to give my Openmoko Neo Freerunner access to my laptop's internet connection, I currently have to issue the following commands on my laptop (which runs Ubuntu 9.04):

    iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
    sysctl -w net.ipv4.ip_forward=1
    ip addr add 192.168.0.200/24 dev eth1

( see http://wiki.openmoko.org/wiki/USB_Networking )

Is there a GUI only way to achieve the same, eg using nm-connection-editor?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You can use firestarter to configure iptables. I'd personally put that command in a script and have it running at startup. Much easier

Revision history for this message
wojox (wojox) said :
#2

ufw is already installed by default. You could download gufw a gui for it in the repos.

Can you help with this problem?

Provide an answer of your own, or ask Bernhard Reiter for more information if necessary.

To post a message you must log in.