Strona 1 z 1

Interpretacja i implementacja tlumaczenia konfigu.

: 04 marca 2017, 11:36
autor: Matrixx
@Lord Ruthwein
Jak zinterpretowac i zrealizowac nastepujace sformulowania:
Your lan got that via dhcp.. That is not something lan is normal gotten from anyway because normally you run dhcpd on pfsense, etc. etc.. and it needs to be static.

If you want to run this for your whole network then do this.. Your box needs 2 interfaces min or smart switch and vlans but then gets way more complicated.

Interface your going to connect to your internet - wan, would be bridge in VB. Your Lan side interface in PC would be bridged in VB.
In your PC that is running vb you would not have any binding to the wan nic.
Your PC would have an IP on the lan side bridge interface in vb..

Your pfsense vm in vb would have virt nic connected to your phy wan interface that is bridged and get your public IP from your ISP or if behind nat some rfc1918 from your gateway/router from your ISP. Your lan side network or lan interface in vb would be some different network that is bridged to your lan side PC interface. This would be connected to your phy switching setup. All other devices would be connected here, wireless AP would be connected here.

Your PC would have IP on this network.. This is what it would use for internet access.

My router - 192.168.0.1
My host - 192.168.0.182
pfSense WAN - 192.168.0.48

Well your host is on the pfsense WAN.. As I showed in the my setup your PC running vm IP should be on the interface that is bridged to pfsense lan and your network - can not be connected to your routers network. Do this your going to need another switch. Can not just have 1 router as your only connection.
https://forum.pfsense.org/index.php?act ... 6098;image
Jak wykonac takie polaczenie w praktyce?

Re: Interpretacja i implementacja tlumaczenia konfigu.

: 05 marca 2017, 22:10
autor: Yampress
tylko zarejestrowaniu użytkownicy mogą wejsc na forum pfsence (link który podałeś).

poczyta se:
https://www.openbsd.org/faq/pf/
https://www.openbsd.org/faq/pf/example1.html
http://daemon-notes.com/articles/network/pf

Re: Interpretacja i implementacja tlumaczenia konfigu.

: 06 marca 2017, 07:59
autor: LordRuthwen
Dokładnie tak jak ci pisałem w innym wątku:
Your pfsense vm in vb would have virt nic connected to your phy wan interface that is bridged and get your public IP from your ISP or if behind nat some rfc1918 from your gateway/router from your ISP. Your lan side network or lan interface in vb would be some different network that is bridged to your lan side PC interface. This would be connected to your phy switching setup. All other devices would be connected here, wireless AP would be connected here.
To jest chyba jasne, oba interfejsy w trybie bridged zbindowane do odpowiednich kart.

Re: Interpretacja i implementacja tlumaczenia konfigu.

: 06 marca 2017, 09:38
autor: Matrixx
Nie mam czasu teraz pisac ale tylko jeden interfejs jest zmostkowany, drugi w trybie host-only.
Przemysl to jeszcze raz.

Re: Interpretacja i implementacja tlumaczenia konfigu.

: 06 marca 2017, 10:52
autor: LordRuthwen
Nie ja mam to przemyśleć tylko ty przeczytaj ze zrozumieniem.

Re: Interpretacja i implementacja tlumaczenia konfigu.

: 06 marca 2017, 13:58
autor: Yampress

Nie masz czasu aby rozwiązać swój problem, a MY mamy go mieć?
To rozkaz, że musimy Ci podać gotowe rozwiązanie oraz przetłumaczyć powyższy tekst?
Wiesz, my nic nie musimy, a że coś podamy to raczej po to aby nakierować abyś trafił na właściwą drogę i tok myślenia. Ale skoro samemu nie chcesz popracować tylko oczekujesz gotowego rozwiązania to trochę źle trafiłeś. Wiec sobie sam przemyśl czego żądasz i się ogarnij!


A tak poza tym to
https://www.pfsense.org/about-pfsense/
pfSense® software is a free, open source customized distribution of FreeBSD specifically tailored for use as a firewall and router that is entirely managed via web interface. In addition to being a powerful, flexible firewalling and routing platform, it includes a long list of related features and a package system allowing further expandability without adding bloat and potential security vulnerabilities to the base distribution.
więc chyba pomyliłeś fora. To FreeBSD/pfsense czyli system BSD, a nie linux

Zapraszam w każdym razie na fora BSD:
http://www.bsdguru.org/dyskusja/
https://forums.freebsd.org/

]:>

Re: Interpretacja i implementacja tlumaczenia konfigu.

: 07 marca 2017, 11:26
autor: Matrixx
Moderowano: Usunięto część wypowiedzi bez związku z tematem wątku. Takie uwagi należy zawierać w osobnych wątkach do tego przeznaczonych lub zgłaszać poprzez PW.
Temat zamykam.

Zeby cieszyc sie vm pfSense na VB trzeba ustawic na VM VB 2 interfejsy: bridged, host-only. Na vm pfSense em0(WAN) i em1(LAN) adresacja dla em0 z sieci fizycznej, adresacja dla sieci em1 z sieci wirtualnej. To wszystko, i dziala pieknie.
Minusem jest znacznie zwiekszone zuzycie pradu, niestety.
Powodzenia.

Ps. za linki bardzo dziekuje, z pewnosci beda mi niebawem potrzebne.