Devo per forza usare IP differenti per ogni Plugin?

Status
Not open for further replies.

EletroLaix

Dabbler
Joined
Jun 29, 2017
Messages
35
Dalla domanda si capisce bene cosa voglio ottenere, preferirei usare Transmission sullo stesso IP del server FreeNas o in alternativa far utilizzare lo stesso IP a tutti Plugin si può fare ? con Corral mi risultava molto facile in FreeNas 11 non ho trovato nessuna impostazione
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
Ovviamente no. Quale sarebbe lo scopo di tutto ciò? Come facevi su corral ad accedere da rete ai diversi plug-in se avevano lo stesso ip???

Inviato dal mio LG-D855 utilizzando Tapatalk
 

EletroLaix

Dabbler
Joined
Jun 29, 2017
Messages
35
Stesso IP si ma ogni PlugIn ascolta su porte diverse (ricordo che su Corral funzionava tutto su una VM con Docker)
 

Artion

Patron
Joined
Feb 12, 2016
Messages
331
Giusto. Corral usa docker per i plugin e non i jails che sono usati per i plugin in FN11. Perciò non puoi dare lo stesso IP ai plugins/jails in FN11. Però sul forum puoi trovare guide su come usare reverse proxy per puntare ai diversi plugin/jail usando un solo IP di riferimento.
 

Zofoor

Patron
Joined
Aug 16, 2016
Messages
219
Si, si può fare anche se di solito si vuole evitare per semplificare la gestione delle jails. Tutto senza impostare nessun reverse proxy.
Se guardi la documentazione riguardo alle jail nella parte in cui si parla della configurazione della rete troverai dettagli (bridge ethernet).
Ovviamente bisogna stare attenti a non usare porte per i vari servizi che non siano già usate da Freenas.

Inviato dal mio Nexus 5 utilizzando Tapatalk
 
Last edited:

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
Si, si può fare anche se di solito si vuole evitare per semplificare la gestione delle jails. Tutto senza impostare nessun reverse proxy.
Se guardi la documentazione riguardo alle jail nella parte in cui si parla della configurazione della rete troverai dettagli (bridge ethernet).

sei certo che si possa fare? In realtà che io sappia il "bridge" serve appunto per associare network virtuali con differenti indirizzi al network fisico della macchina su cui è installato FN...


"The IPv4 and IPv6 bridge interface is used to bridge the epair(4) device, which is automatically created for each started jail, to a physical network device. The default network device is the one that is configured with a default gateway. So, if em0 is the FreeBSD name of the physical interface and three jails are running, these virtual interfaces are automatically created: bridge0, epair0a, epair1a, and epair2a. The physical interface em0 will be added to the bridge, as well as each epair device. The other half of the epair will be placed inside the jail and will be assigned the IP address specified for that jail. The bridge interface will be assigned an alias of the default gateway for that jail, if configured, or the bridge IP, if configured; either is correct.

The only time an IP address and mask are required for the bridge is when the jail will be on a different network than the FreeNAS® system. For example, if the FreeNAS® system is on the 10.0.0.0/24 network and the jail will be on the 192.168.0.0/24 network, set the IPv4 bridge address and IPv4 bridge netmask fields for the jail."

http://doc.freenas.org/11/jails.html#jails-configuration
 

Zofoor

Patron
Joined
Aug 16, 2016
Messages
219
Nella scheda di dettaglio della jail devi deselezionare VIMAGE, e sotto NIC scegliere l'interfaccia di rete da fargli utilizzare. Come Sysctls metti allow.raw_sockets=true. Gli dai l'ip e il netmask, mentre il resto lo lasci bianco/deselezionato.

Io ho fatto così l'anno scorso e funziona.
 

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367
Sinceramente non ne capisco l'utilità... C'è na complicazione madornale e si mischiano solo le cose. Piuttosto usa un DNS dove puoi aggiungere tu alcune risoluzioni dei nomi in modo da mappare tipo:

Code:
http://192.168.1.4:9091

con
Code:
http://transmission:9091


Usa Pi-Hole, molto utile come Ad-Blocker oppure pfSense ;)
 
Status
Not open for further replies.
Top