[SOLVED] PPPoE and Web proxy issues


(Gabriel GHEORGHIU) #1

Hi everybody,

I encountered the following situation:

I have a PPPoE Internet connection.
When I try to use Web proxy in “Transparent mode” or “Transparent with SSL” in conjunction with “Block HTTP and HTTPS ports”, after I press “SUBMIT” button I receive an error message at the end of the task (please see the “Task error” attached picture).

After many tries, I observed that the error appear only if I have PPPoE connection (please see attached picture). If I configure NIC with fixed IP, I have no errors.

Thank you in advance for help!
Kind regards,
Gabriel


NethServer vs Endian
(Artem Fedai) #2

Hi, show pls :
cat /etc/shorewall/zones


(Gabriel GHEORGHIU) #3

Hi Nas,
This is now.
I will reproduce the task and I will show you the file just after the error.

Thank you!


(Artem Fedai) #4

cat /etc/shorewall/hosts
cat /etc/shorewall/interfaces


(Gabriel GHEORGHIU) #5

Just after errors?

=================================
Pictures for zones and rules just after errors:


(Artem Fedai) #6

so where is PPPOE zone ) find it :slight_smile:
have you update your instalation ?


(Gabriel GHEORGHIU) #7


(Artem Fedai) #8

cat /etc/shorewall/hosts


(Gabriel GHEORGHIU) #9


(Artem Fedai) #10

so no pppoe zone , that is why errors persist.
have you update your system ?


(Gabriel GHEORGHIU) #11

If there is no pppoe zone, how the NS works?

The system is up-to-date.
I made all the updates just after first login. After that, I began the configuration of the NS.


(Artem Fedai) #12

show:
db networks show


(Gabriel GHEORGHIU) #13


(Artem Fedai) #14

and show /etc/shorewall/policy


(Gabriel GHEORGHIU) #15


(Artem Fedai) #16

so there is a bug in
/etc/e-smith/templates/etc/shorewall/rules/90squid

edit line 31
next if ($role eq ‘’ || $role eq ‘red’ || $role eq ‘slave’ || $role eq ‘bridged’ || $role eq ‘alias’ || $role eq ‘pppoe’);

and try to recreate.


(Gabriel GHEORGHIU) #17

It works!

Thank you!


(Artem Fedai) #18

i should make fork on GIT :slight_smile: thanks for testing


(Gabriel GHEORGHIU) #19

You should!

Thank you for help! :beers:


(Artem Fedai) #20

already forked. You should make custom template for this file , coz while dev team add it to distro may pass some time.
mkdir -p /etc/e-smith/templates-custom/etc/shorewall/rules
cp /etc/e-smith/templates/etc/shorewall/rules/90squid /etc/e-smith/templates-custom/etc/shorewall/rules/90squid