Hello List,
wow Endian is really a cool product. Especially if you came from
IPCop ;-)
We have a PPPoE dialup connection with 8 Fixed IP's from our provider.
Therefore we had some trouble setting up Endian properly. Now i
figured a "hack". But there must be a nicer or better way to
accomplish that, no?
First problem was, that our source IP must not be the one we get from
the PPP interface. I found the the solution with IPTables source natting.
The other problem is that we have multiple IP's for our PPPoE, but the
Aliases are only working if you setup static IP in endian and we use
PPPoE. So i come up with some other hack...
/etc/network/ifup.d/iptables
------------------------------------------------------------------
if [ -n "${interface}" -a -n "${new_ip_address}" ]; then
# set up NAT
# iptables -t nat -A REDNAT -o ${interface} -j SNAT --to-source
${new_ip_address}
#
# adapted by GeE / 20070724
#
ifconfig ${interface}:1 212.98.56.121
# ifconfig ${interface}:2 212.98.56.122
# ifconfig ${interface}:3 212.98.56.123
# ifconfig ${interface}:4 212.98.56.124
# ifconfig ${interface}:5 212.98.56.125
# ifconfig ${interface}:6 212.98.56.126
iptables -t nat -A REDNAT -o ${interface} -j SNAT --to-source
212.98.56.122
fi
...
------------------------------------------------------------------
How did you solve this problem?
regards
GeE
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user