Discussion:
[Synce-devel] Masquerading
Klaus Nitsche
2007-02-19 20:14:30 UTC
Permalink
Hi all,

after connection with my WM5 Device via bluetooth to my SuSE 10.2 I get the
following error message:"Could not create masqueraded route".
The configuration "Enable Masquerading" and the path to /usr/sbin/iptables in
raki are set correct, "sudo" is enabled not to ask a password exactly as
explained in
http://synce.sourceforge.net/synce/kde/synce-kde-advanced-configuration.php.

Here the syslog:
Feb 19 20:35:58 obi-wan-kenobi pppd[27563]: not replacing default route to
eth0 [192.168.100.9]
Feb 19 20:35:58 obi-wan-kenobi pppd[27563]: local IP address 192.168.100.1
Feb 19 20:35:58 obi-wan-kenobi pppd[27563]: remote IP address 192.168.100.8
Feb 19 20:35:58 obi-wan-kenobi ip-up: SuSEfirewall2: Warning: ip6tables does
not support state matching. Extended IPv6 support disabled.
Feb 19 20:35:58 obi-wan-kenobi SuSEfirewall2: Warning: ip6tables does not
support state matching. Extended IPv6 support disabled.
Feb 19 20:35:58 obi-wan-kenobi SuSEfirewall2: Setting up rules
from /etc/sysconfig/SuSEfirewall2 ...
Feb 19 20:35:58 obi-wan-kenobi su: (to root) klaus on /dev/pts/1
Feb 19 20:35:58 obi-wan-kenobi SuSEfirewall2: batch committing...
Feb 19 20:35:58 obi-wan-kenobi SuSEfirewall2: Firewall rules successfully set
Feb 19 20:35:58 obi-wan-kenobi pppd[27563]: Script /etc/ppp/ip-up finished
(pid 27619), status = 0x0
Feb 19 20:36:03 obi-wan-kenobi sudo: <user> : TTY=unknown ;
PWD=/home/<user> ; USER=root ; COMMAND=COMMAND=/usr/sbin/iptables -t nat -A
POSTROUTING -s -d 0.0.0.0/0 -j MASQUERADE

The source parameter (-s) in the iptables-call is empty, although raki knows
already the ip-address of the mobile device.

Calling the command manually completly (COMMAND=/usr/sbin/iptables -t nat -A
POSTROUTING -s 192.168.100.8 -d 0.0.0.0/0 -j MASQUERADE) works fine.

Hope, someone can help me.
Thanks

Klaus

Loading...