DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Security

FreeBSD Security Securing FreeBSD.

Reply
 
Thread Tools Display Modes
Old 9th September 2009
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

Thanks.

Tried with rc.local but didn't seem to get it working.

Eventually i managed to find this which seems to be working.
Code:
Change your dhclient.conf file so that it doesn't 
request 'routers' (for that interface) and set the default statically by setting defaultroute in rc.conf.
dhclient.conf without requiring routers.
Code:
reject 192.168.0.254;
interface "bfe0" {
         request subnet-mask, broadcast-address, time-offset,
                 domain-name, domain-name-servers, host-name;
    require subnet-mask, domain-name-servers;
}
Also there´s sometimes popping false configured DHCP's on the University network so that's why the reject.

BTW can i put some IP range to the reject?
__________________
SpreadBsd
Reply With Quote
Reply

Tags
2 external, 2 isp, firewall, nat, pf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting external XFS HDD rativid OpenBSD General 5 3rd September 2010 02:31 PM
External Ips zomo OpenBSD General 12 20th November 2008 09:47 AM
Router for external IP's bichumo General software and network 11 22nd July 2008 03:07 AM
2 external NIC + 1 internal NIC AlexV FreeBSD General 7 4th June 2008 08:18 AM
ssh/external access jwhal OpenBSD General 11 21st May 2008 07:19 PM


All times are GMT. The time now is 02:58 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick