IPCop PPPoE strangeness

Kasyx

Expert Member
Joined
Jun 6, 2006
Messages
2,565
Reaction score
1
Location
127.0.0.1
I recently set up an IPCop firewall box that sits between my Billion 7300 router and my internal network.

i.e.

EVIL INTERNET -> Billion 7300 -> IPCop firewall -> me

Internal network range: 192.168.0.0
RED/router range: 192.168.1.0

The router is set in half-bridge mode, meaning I can have a connection directly from the router, as well as a pppoe relay from within the network.

I have configured the RED interface (eth2) on IPCop as PPPoE, which is what I want, considering I intend to have one connection from the router, and the other from the IPCop box itself so I can route all my WoW traffic through an unshaped account on the firewall, and everything else will be routed through the regular account on the Billion.

The issue is this:

When IPCop makes the pppoe connection, it changes the eth2 RED interface IP address to 1.1.1.1, and this totally screws over my routing tables (effectively the firewall is no longer on the same range as the router, so it can't use it as a gateway). It appears that, after IPCop has made the connection, I can just log in to the box and change the IP address manually, but this seems like a very silly kludge, just as writing a script to do it would be nothing more than a bad work-around. I want to know why it is doing this, and I want to stop it.

I am quite new to IPCop, so I am not sure of many of the configuration files on the box itself.

Any help would be greatly appreciated :)
 
Just looked into this a bit further and I must say I am getting pretty disheartened :(

Looks like IPCop won't allow me to have more than one pppoe connection, which I kinda figured, however I thought I might be able to have an unshaped pppoe connection on IPCop through which all traffic on port 3724 (WoW) would go through, and then have everything else go through the router's connection.

Looking at the routing tables, I just don't see how this would be possible :(

If IPCop is set up with the RED interface in PPPOE mode, when making the pppoe connection on the box itself, it automatically sets the default route to ppp0, meaning that everything is automatically routed through there.

The next thing to try, I guess, would be to set the RED interface to STATIC mode and create manual pppoe connections on the command line.

Not sure if anyone has any input for me concerning this situation, but it helps me to think out loud...
 
http://mybroadband.co.za/vb/showthread.php?t=64649

Here you go. It's a bit of a hack job, but it works well.

I've modified those scripts quite a bit for myself though, but it should be enough to get you started.

I have 3x pppoe connections with IPCop, 1x 3gb blended, 1x 30gb local, and 1x 1gb unshaped.

The only connection that is configured via the gui is the blended. The other 2 are handled by the script.

Something that might be a work around for you... leave the eth1 interface as 1.1.1.1 and add your desired IP address as a secondary. I do that when I need to access the setup interface on my modem.

Not intending to plug my own blog, but I wrote a post on how to access a modem that's behind an IPCop, so if you read it, it will tell you how to add the secondary if you don't already know. (It's been awhile, I've forgotten exactly, but it's something like 'ip address add blah blah'.)
 
Top
Sign up to the MyBroadband newsletter
X