Jump to content

Hi! I have create a OPT interface but i don,t get ip in my machine i have connect to this interface and no internet in this interface, i want get ip and internet in this how should i do? im pretty new on pfsense. Please help 

 

Sorry for my bad english.

 

 

Thanks!

Link to comment
https://linustechtips.com/topic/882470-need-help-with-opt-interface/
Share on other sites

Link to post
Share on other sites

10 hours ago, SweGamerHere said:

 

I assume by 'no ip' you mean a client connected to the OPT interface is not getting an IP address? If so, you have to either have a DHCP-server on the subnet or assign a IP address to the client manually.

For internet you will have to allow traffic from your OPT interface to anywhere for port 80 and 443, after you have assigned the ip address and default gateway.

Please quote me in any answers to my posts, so that I can read them easily and don´t forget about them. Thanks!

 

I love spending my time with PC tinkering, networking and server-stuff.

Link to post
Share on other sites

Hi  @MEOOOOOOOOOOOOW

can you write a guide to me? with photos? and how you mean with opt interface to whatever for port 80 and 443 i should see if i can get it to work but can you please write down a guide with pictures? and good comment about how i should do in this guide? and no ip Yes i mean the client not assignd a ipaddress. Thanks for help but i need more help i can,t fixit i can,t much english and i use translate so if you can please write guide to me :D Thanks for help but i need more help!

Link to post
Share on other sites

33 minutes ago, SweGamerHere said:

Hi  @MEOOOOOOOOOOOOW

can you write a guide to me? with photos? and how you mean with opt interface to whatever for port 80 and 443 i should see if i can get it to work but can you please write down a guide with pictures? and good comment about how i should do in this guide? and no ip Yes i mean the client not assignd a ipaddress. Thanks for help but i need more help i can,t fixit i can,t much english and i use translate so if you can please write guide to me :D Thanks for help but i need more help!

There are more than enough written or video guides on how to set up OPT-interfaces in pfSense out there, I am sure some are also in your language.

 

By opt interface to port 80/443 I mean that you have to create a firewall rule to allow traffic from any client in your OPT-subnet to anywhere. pfSense creates a rule for your LAN-Interface to allow connections on every port. Since this isn't the case with OPT-interfaces you will have to create those rules on your own.

For Internet access you at least need port 80 and 443, port 53 for DNS wouldn't hurt either. You could of course also just create a "from OPT-subnet to anywhere/any port" rule.

 

31 minutes ago, SweGamerHere said:

@MEOOOOOOOOOOOOW Ow hi, i have now dhcp server but when i set gateway 192.168.4.1 4.1 is my LAN dhcp server it just say this is not within subnet range can you post picture how i should set it up?

You will either need an extra DHCP-server on your OPT-subnet or enable DHCP relay. The first option would be easier, and in fact you can have your pfSense box do this job. Also, your gateway address has to be the address of the interface on your router on the specific subnet.

For example, if the IP-address of your OPT-interface is 192.168.2.1, for every client on the OPT-subnet, this will be the gateway (provided you don't have multiple gateways, which I doubt).

If you only have a handfull of clients on the OPT-subnet, you could also just assign IP-addresses manually, just watch out for conflicts.

Please quote me in any answers to my posts, so that I can read them easily and don´t forget about them. Thanks!

 

I love spending my time with PC tinkering, networking and server-stuff.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×