Hi All, I have setup a packetfence ZEN with two interfaces: eth0 192.168.140.1 management (with portal daemon) eth1 192.168.40.1 inline layer 2
The server has default gateway 192.168.140.30 and the connection works fine. When connect a device on eth1, the dhcp on packetfence assign an ip on 192.140.40.x networks and open correctly the captive portal. I try to connect with email authentication. After select the mail, the server send me the email activation required, but the client can't enable the connection: it receive the message "Unable to detect internet connection. Try restart...." On the server I have this log: May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Removed 192.168.40.14 from PF-iL2_ID2_192.168.40.0 Mac: 00:50:56:91:17:a4" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Removed 192.168.40.14 from pfsession_Reg_192.168.40.0 Mac: 00:50:56:91:17:a4" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Removed old ip 192.168.40.14 from pfsession_Reg_192.168.40.0 Mac: 00:50:56:91:17:a4" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Added 192.168.40.14 00:50:56:91:17:a4 to pfsession_Reg_192.168.40.0" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Added 192.168.40.14 to PF-iL2_ID2_192.168.40.0 Mac: 00:50:56:91:17:a4" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Removed 192.168.40.187 from PF-iL2_ID2_192.168.40.0 Mac: d4:9a:20:67:c8:62" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Removed 192.168.40.187 from pfsession_Reg_192.168.40.0 Mac: d4:9a:20:67:c8:62" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Removed old ip 192.168.40.187 from pfsession_Reg_192.168.40.0 Mac: d4:9a:20:67:c8:62" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Added 192.168.40.187 d4:9a:20:67:c8:62 to pfsession_Reg_192.168.40.0" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Added 192.168.40.187 to PF-iL2_ID2_192.168.40.0 Mac: d4:9a:20:67:c8:62" pid=20130 May 30 22:22:20 localhost pfipset[20130]: t=2022-05-30T22:22:20+0200 lvl=info msg="Reloading ipsets" pid=20130 May 30 22:23:15 localhost packetfence: pfperl-api(31808) INFO: getting security_events triggers for accounting cleanup (pf::accounting::acct_maintenance) May 30 22:23:15 localhost packetfence: pfperl-api(29442) INFO: processed 0 security_events during security_event maintenance (1653942195.19359 1653942195.19807) (pf::security_event::security_event_maintenance) May 30 22:23:15 localhost packetfence: pfperl-api(29442) INFO: processed 0 security_events during security_event maintenance (1653942195.19971 1653942195.20263) (pf::security_event::security_event_maintenance) May 30 22:23:15 localhost packetfence: pfperl-api(31808) INFO: Using 300 resolution threshold (pf::pfcron::task::cluster_check::run) May 30 22:23:15 localhost packetfence: pfperl-api(31808) INFO: All cluster members are running the same configuration version (pf::pfcron::task::cluster_check::run) May 30 22:24:15 localhost packetfence: pfperl-api(1366) INFO: processed 0 security_events during security_event maintenance (1653942255.26606 1653942255.28044) (pf::security_event::security_event_maintenance) May 30 22:24:15 localhost packetfence: pfperl-api(1366) INFO: processed 0 security_events during security_event maintenance (1653942255.28249 1653942255.28504) (pf::security_event::security_event_maintenance) May 30 22:24:15 localhost packetfence: pfperl-api(29442) INFO: getting security_events triggers for accounting cleanup (pf::accounting::acct_maintenance) May 30 22:24:15 localhost packetfence: pfperl-api(29442) INFO: Using 300 resolution threshold (pf::pfcron::task::cluster_check::run) May 30 22:24:15 localhost packetfence: pfperl-api(29442) INFO: All cluster members are running the same configuration version (pf::pfcron::task::cluster_check::run) On server I have enable ipv4 forwarding. On client I can ping with result only 192.168.40.1 and 192.168.140.1 Thanks -- linux registered user #400388
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users