Sponsored Content
Full Discussion: Openbsd as gateway Problem
Special Forums IP Networking Openbsd as gateway Problem Post 302153183 by Peter_APIIT on Sunday 23rd of December 2007 10:21:05 PM
Old 12-23-2007
I also confim it with sysctl -a |less


Below is a information :

net.inet.ip.forwading=1
net.inet.ip.redirect=1
net.inet.ip.sourcerate=0
net.ine6.ip.forwading=0
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

please help with openbsd 2.9

Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
Discussion started by: Blunt_Killer
11 Replies

2. BSD

OpenBSD : mount problem

hi I have two hhd's. One is primary disk which holds the OpenBSD system and the other is my download disk (disk2). I formatted disk2 in "ffs" type. And created a "disklabel", wd1a. The disklabel program says "No change made", but I can see the changes by "p" command. I cannot mount my disk2!... (1 Reply)
Discussion started by: fnoyan
1 Replies

3. BSD

[OpenBSD] DNS startup problem

I have the DNS files set up on my OpenBSD 4.0 amd64 system however when I run named, I get the following error in my logs: Sep 23 10:43:03 grunty named: starting BIND 9.3.2-P1 Sep 23 10:43:03 grunty named: /etc/named.conf:25: change directory to '/var/named' failed: file not found Sep 23... (2 Replies)
Discussion started by: BOFH
2 Replies

4. BSD

Trying to get into OpenBSD

I am an eight year Linux user and after getting into an argument with someone about OpenBSD overiding my theory that OS security is 50% OS and 50% admin skill, I decided to try OpenBSD for myself. I've tried BSDs before and haven't been able to get into them for day to dy use, but I am going to... (7 Replies)
Discussion started by: deckard
7 Replies

5. BSD

openbsd-pf

hello , I wondered if anyone could assist me in writing a simple packet filter firewall on my OpenBSD v4.5. All I intend doing is to have two firewalling machine on a separate network : 192.168.1.1 ext_if = xl0 (dhcp) // Internet interface int_if=xl1 // Internatl interface ... (0 Replies)
Discussion started by: mattjam
0 Replies

6. BSD

Xwindows Problem OPenBSD 4.6

Hi, I have OPENBSD 4.6 installed as a VM in Virtual Box on my Ubuntu 9.10 machine. Problem is that the XWindows will not start when I boot my OPENBSD VM. I am new to OPENBSD. How do I fix this problem? (5 Replies)
Discussion started by: mojoman
5 Replies

7. Linux

GNUGK-How to setup static gateway to gateway routing

Dear Sir I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper. I am having a problem, configuring static call routing on GNUGK in the section ... (0 Replies)
Discussion started by: mfondoum
0 Replies

8. IP Networking

Small Problem about Default Gateway

I have Ubuntu linux Os with two eth cards. I can easily delete def gatewayg. But I can't add new one.. :confused::confused: When I run route-n: alperen@alperen-System-Product-Name:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use... (1 Reply)
Discussion started by: Mhnds
1 Replies

9. IP Networking

Routing problem : two interfaces one gateway

hi folks, i have a horstbox-router with the following configuration. it has 4 ethernet ports from wich one (wan0) is configured as an external modem via dhcp. at this port/interface(wan0) it is connected with my home network (other switch). this configuration results in the following... (14 Replies)
Discussion started by: gencaslan
14 Replies

10. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies
SYSCTL(8)						      System Manager's Manual							 SYSCTL(8)

NAME
sysctl - get or set kernel state SYNOPSIS
sysctl [ -n ] name ... sysctl [ -n ] -w name=value ... sysctl [ -n ] -aA DESCRIPTION
The sysctl utility retrieves kernel state and allows processes with appropriate privilege to set kernel state. The state to be retrieved or set is described using a ``Management Information Base'' (``MIB'') style name, described as a dotted set of components. The -a flag can be used to list all the currently available string or integer values. The -A flag will list all the known MIB names including tables. Those with string or integer values will be printed as with the -a flag; for the table values, the name of the utility to retrieve them is given. The -n flag specifies that the printing of the field name should be suppressed and that only its value should be output. This flag is use- ful for setting shell variables. For example, to save the pagesize in variable psize, use: set psize=`sysctl -n hw.pagesize` If just a MIB style name is given, the corresponding value is retrieved. If a value is to be set, the -w flag must be specified and the MIB name followed by an equal sign and the new value to be used. The information available from sysctl consists of integers, strings, and tables. The tabular information can only be retrieved by special purpose programs such as ps, systat, and netstat. The string and integer information is summaried below. For a detailed description of these variable see sysctl(3). The changeable column indicates whether a process with appropriate privilege can change the value. Name Type Changeable kern.ostype string no kern.osrelease string no kern.osrevision long no kern.version string no kern.maxinodes integer no kern.maxproc integer no kern.maxfiles integer no kern.maxtext integer no kern.argmax integer no kern.securelevel integer raise only kern.hostname string yes kern.hostid long yes kern.clockrate struct no kern.posix1version integer no kern.ngroups integer no kern.job_control integer no kern.saved_ids integer no kern.boottime struct no vm.loadavg struct no machdep.console_device dev_t no net.inet.ip.forwarding integer yes net.inet.ip.redirect integer yes net.inet.ip.ttl integer yes net.inet.icmp.maskrepl integer yes net.inet.udp.checksum integer yes hw.machine string no hw.model string no hw.ncpu integer no hw.byteorder integer no hw.physmem long no hw.usermem long no hw.pagesize integer no user.cs_path string no user.bc_base_max integer no user.bc_dim_max integer no user.bc_scale_max integer no user.bc_string_max integer no user.coll_weights_max integer no user.expr_nest_max integer no user.line_max integer no user.re_dup_max integer no user.posix2_version integer no user.posix2_c_bind integer no user.posix2_c_dev integer no user.posix2_char_term integer no user.posix2_fort_dev integer no user.posix2_fort_run integer no user.posix2_localedef integer no user.posix2_sw_dev integer no user.posix2_upe integer no EXAMPLES
For example, to retrieve the maximum number of processes allowed in the system, one would use the follow request: sysctl kern.maxproc To set the hostname of the system to foo.bar.com, one would use the follow request: sysctl -w kern.hostname=foo.bar.com Information about the system clock rate may be obtained with: sysctl kern.clockrate Information about the load average history may be obtained with sysctl vm.loadavg FILES
<sys/sysctl.h> definitions for top level identifiers, second level kernel and hardware identifiers, and user level identifiers <sys/socket.h> definitions for second level network identifiers <sys/gmon.h> definitions for third level profiling identifiers <sys/vmparam.h> definitions for second level virtual memory identifiers <netinet/in.h> definitions for third level Internet identifiers and fourth level IP identifiers <netinet/icmp_var.h> definitions for fourth level ICMP identifiers <netinet/udp_var.h> definitions for fourth level UDP identifiers SEE ALSO
sysctl(3) HISTORY
sysctl first appeared in 4.4BSD. 4th Berkeley Distribution June 6, 1993 SYSCTL(8)
All times are GMT -4. The time now is 01:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy