View Single Post
Old 26-05-2013, 08:30   #31
Njon
Senior Member
 
Iscritto dal: Aug 2007
Città: Trento
Messaggi: 422
Ha superato la notte
Per ora pare funzionare comunque.
Allora il fatto è che il router è nella stessa sottorete della lan perchè voglio poter usare l'access point wifi del router.
Quindi il router ha indirizzo ip 192.168.0.2 e la lan di pfsense 192.168.0.1.
So che se cambiassi sottorete sarei apposto, ma a quel punto renderei inutilizzabile il wifi del router!
Comunque ora provo a leggere la tua guida, molte grazie

EDIT: appunto
Quote:
Note: Your modem's management IP must be on a different IP subnet than your internal network. If it is not, your attempts to connect to it will never go to the firewall to be routed out to the modem, as hosts on your internal network would try to connect to it on the local network and fail.
Il fatto è che virtualizzando il tutto è come se le due interfacce di pfsense fossero collegate direttamente allo switch come due cavi separati: quindi il router è in LAN ed è accessibile attraverso la LAN e non la WAN (quindi no problema)

EDIT2 : ohhh! dite che funzionerebbe?
Quote:
Instead, under Interfaces > (assign), create a new OPT interface, and assign it to the physical network card that is on WAN. For example, if your WAN on the assignment page is "PPPOE0(fxp0)", choose fxp0, and Save your changes.
Go to Interfaces > (your new OPT interface), and enable the interface. Give it an IP address in the same subnet as your modem, such as 192.168.1.5/24 (For example, the same IP address suggested in for the alias in the previous instructions). Do not set a gateway. If you like, you can rename the interface to something like ModemAccess.
Add an Outbound NAT rule as described above but do NOT choose the WAN interface, choose your new OPT interface.
You should then be able to access the modem from LAN.
Dunque attraverso questa procedura avrei il router (e quindi il Wifi) in un'altra sottorete ma al contempo potrei accedere lo stesso ad internet ed al resto della LAN?

EDIT3: però il dhcp di pfsense non funzionerebbe più ovviamente. Dovrei quindi impostare il dhcp sul router (con altra sottorete ovviamente) e impostare il DNS sulla nuova OPT...mhm ci vorrebbe una sorta di Redirect sul router, ma essendo un cavolo di Belkin senza impostazioni ovviamente non c'è...
__________________
MacBook 13.3" Alu
iPhone 3G

Ultima modifica di Njon : 26-05-2013 alle 08:49.
Njon è offline   Rispondi citando il messaggio o parte di esso