08-06-2013
Sorry about that, the port used by the sender should be the port referenced in the iptables command issued by the receiver (--dport 33333). The problem is not tied to a specific port number. I have not tried any of the priviledged ports (<1024).
I did another experiment with starting the sender first. The receiver now sets up iptables to redirect 33333 and 33334 to it's socket with port 44444. The sender is modified to send 20 messages to 33333 and then every other message to 33334. And guess what, the message sent to 33334 is redirected properly.
Last edited by michaelrusse; 08-06-2013 at 08:07 PM..
8 More Discussions You Might Find Interesting
1. IP Networking
Hey guys, I have just started using IP tables and was wondering if anyone could direct me to any good online resources as I am totally new to this. Thanks. (1 Reply)
Discussion started by: 182x
1 Replies
2. Linux
Description
i used iptables firewall is a month,running is favorable.it is failed when i connecting to my server on time.the servers' web service and all ports did not connect.i remote login the other server and through intranet address login this server then i restart iptables .but through... (0 Replies)
Discussion started by: proceed
0 Replies
3. IP Networking
Trying to create a whitelist to limit bandwidth. My sync speed is 1536/256 kbps.
Simple rules in order:
1. Do not limit (or set to 1536/256) MAC 00:00:00:00:00 (computer is in 192.168.1.0/24).
2. Do not limit (or set to 1536/256) MAC 00:00:00:00:01 (computer is in 192.168.1.0/24).
3. Do not... (1 Reply)
Discussion started by: kripz
1 Replies
4. IP Networking
What should be the iptables rule so that only the subnet 64.61.11.224/255.255.255.248 may access the mysql port 3306 (1 Reply)
Discussion started by: proactiveaditya
1 Replies
5. IP Networking
Hope someone can help cus m really stuck.
Im pretty good at making basic IPTables rules to get what i need done, but this one has me beat.
I have only 1 Nic in my linux box , and its setup as a trunk to my switch.
I have 5 vlans setup on it:
eth0.1000
eth0.1001
eth0.1002
eth0.1003... (0 Replies)
Discussion started by: UKShark
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
On the IPTABLES, I did iptables --flush. I want to start fresh. Now I only want two things. Allow one ip address to this server. Allow port 443 as incoming from every where. Please advice how to do this.
This is what I did so for.
iptables -I INPUT -i eth0 -s 1.2.3.4 -j ACCEPT... (5 Replies)
Discussion started by: samnyc
5 Replies
7. Cybersecurity
I am setting up a new squid daemon to run on my server. I want to make sure that everyone inside my network can access squid but I want to make sure everyone on the internet is blocked.
eth0 is connected to my internal LAN via: 192.168.0.5/255.255.255.0
eth1 is connected to the internet via:... (1 Reply)
Discussion started by: nondescriptciti
1 Replies
8. UNIX for Advanced & Expert Users
I have a question regarding IPTables packet flow, that I am hoping I can get an answer to.
We have a fairly advanced implementation of IPTables that I am trying to convert into a third party product and I am not quite certain on the packet flow in the current IPTables implementation.
We are... (2 Replies)
Discussion started by: knightfirefx
2 Replies
LEARN ABOUT FREEBSD
portindex
PORTINDEX(5) BSD File Formats Manual PORTINDEX(5)
NAME
INDEX -- File containing information about the state of the ports tree
DESCRIPTION
The port index file in /usr/ports contains various bits of information about the ports tree. Each major branch of FreeBSD has a separate
index file, named ``INDEX-N'', where N is the major version number of the FreeBSD branch, i.e.: INDEX-7, or INDEX-8.
name The name of the package.
path The path to the port directory.
install prefix
The default install prefix.
short description
A short description.
full description
The path to the full description.
maintainer email
The email address of the maintainer.
index The categories this port is part of.
build dependencies
Ports required to be installed prior to building this port.
run dependencies
Ports required to be installed for this port to run.
website The project website for the port.
e-deps Ports that may be required to extract this port.
p-deps Ports that may be required to patch this port.
f-deps Ports that may be required to fetch this port.
FILES
/usr/ports/INDEX-N where N is the major version number of the FreeBSD branch.
EXAMPLES
vim-6.3.15|/usr/ports/editors/vim|/usr/local|Vi "workalike", with many additional features|/usr/ports/editors/vim/pkg-descr|obrien@FreeBSD.org|editors|libiconv-1.9.2_1|libiconv-1.9.2_1|http://www.vim.org/|||
SEE ALSO
build(7), ports(7)
AUTHORS
This manual page was written by Paul Armstrong and Thomas Abthorpe <tabthorpe@FreeBSD.org>.
BSD
October 14, 2012 BSD