Full Discussion: iptable forward packet
Operating Systems Linux Ubuntu iptable forward packet Post 302598958 by arsipk on Wednesday 15th of February 2012 09:14:27 PM
iptable forward packet

I have the doubt which involved following configuration.
Comp1 sends icmp packet to main. Main takes that packet and changes destination address to comp2 and source address to it own.
I can capture the packet send from comp1 to main using netfilter. I can see the packet and its content. Then i modify the destination, source address and ip checksum successfully. But when i release it back to the kernel the packet never goes back to comp2. To release back packet i use nfq_set_verdict(....,NF_ACCEPT). If i capture packet from output chain of main when its sending ping reply back to comp1 my program modifies that packet and sends it to comp2 but if i capture packet from input chain of filter table than it does not forward that to modified address. I think this maybe because once the packet is in input chain of filter table modifying destination address means nothing. Can someone assist me how to forward packet from comp1 to comp2 through main.
Test Your Knowledge in Computers #794
Difficulty: Medium
1/10 has a finite binary representation.
True or False?

10 More Discussions You Might Find Interesting

1. Linux

IPtable rule help need

Hi, I need to configure iptable such that whatever request comes to needs to forwarded to and only port 80 and 443 needs to be forwarded others need to be blocked.... Thanks gr8 forum:) (1 Reply)
Discussion started by: iron_michael86
1 Replies

2. UNIX for Dummies Questions & Answers


Hi, Is het possible to block everyone (all IP addresses) except a given (white)list? How can I do this? Regards, Kevin (2 Replies)
Discussion started by: kever
2 Replies

3. IP Networking

unable to find iptable service

Hi Am trying to check the service of iptables using /etc/init.d/iptables status but I am not even getting this file. # /etc/init.d/iptables status -bash: /etc/init.d/iptables: No such file or directory # I tried to check whether iptables rpm is installed or not, and it is... (2 Replies)
Discussion started by: mangeshpardhi
2 Replies

4. Red Hat

How to route multiple IP addresses with IPTABLE command?

Hi, We have a router and devices for testing. We route devices with below command iptables -t nat -A PREROUTING -p tcp -d 0/0 --dport 80 -s -j DNAT --to-destination where is device IP. and is our Linux box machine. Likewise we... (4 Replies)
Discussion started by: Dhruvak
4 Replies

5. Ubuntu

Iptables forward traffic to forward chain!!!

Hi, I am new to linux stuff. I want to use linux iptables to configure rule so that all my incoming traffic with protocol "tcp" is forwarded to the "FORWARD CHAIN". The traffic i am dealing with has destination addresss of my machine but i want to block it from coming to input chain and somehow... (0 Replies)
Discussion started by: arsipk
0 Replies

6. Ubuntu

forward packet from input chain to output

Hi, I receive a packet at input chain of iptables in filter table. How can i forward that same packet exactly to the output chain of the iptables in filter table. I need this help desperately. Thanks. (0 Replies)
Discussion started by: arsipk
0 Replies

7. Red Hat

Need help with Iptable/Firewall on RHEL.

Hi Gurus, I am facing an issue with firewalls on one of my Linux Box. Issue : Port 8001 looks open to me and there is a weblogic process running on it netstat -alnp | grep 8001 tcp 0 0 ::ffff: :::* LISTEN 28768/java lsof -ni... (5 Replies)
Discussion started by: rama krishna
5 Replies

8. Red Hat

iptable port forwarding between two lan interface

Hi, How can I config iptables to allow port forwarding from one WAN interface to second lan interface . In my system I have one wan interface (eth0),and lan interface I want to make port forward port no 22 from to port 22 , , tcp and udp... (1 Reply)
Discussion started by: chuikingman
1 Replies

9. UNIX for Advanced & Expert Users

Iptable and port forwarding

Hello, I have a routeur linksys ( ) a firewall ( IN ----> OUT) which using iptable I want to acces to an equipment (lorex video camera serveur which using an ddns service on the port 9000 So i don t know which redirection a will do on the... (2 Replies)
Discussion started by: tapharule
2 Replies

10. AIX

Packet loss coming with big packet size ping

(5 Replies)
Discussion started by: Vishal_dba
5 Replies
kismet_drone(1) 														   kismet_drone(1)

kismet_drone - Wireless sniffing and monitoring remote drone SYNOPSIS
kismet_drone [-svh] [-f config-file] [-c capture-source] [-C enable-capture-sources] [-p port] [-a allowed-hosts] [-N server-name] DESCRIPTION
kismet_drone supports all the capture sources available to Kismet. Instead of processing packets locally, kismet_drone makes them avail- able via TCP to a remote kismet_server using the 'drone' capture source. USAGE
kismet_drone should be configured as you would kismet_server. All logging, packet dissection, etc will take place on the remote kismet server using the 'drone' capture source. kismet_monitor should be used to place capture sources into rfmonitor mode as needed, and kismet_hopper should be used for channel hopping. kismet_drone is controlled by the kismet_drone.conf config file. ENCRYPTION
It may be desireable to encrypt the packet stream between the remote drone and the kismet system. Standard SSH packet tunneling or any other tunneling/forwarding system may be used, and is recommended. SEE ALSO
kismet(1), kismet_drone.conf(5) AUTHOR
Mike Kershaw February 24, 2002 kismet_drone(1)

Featured Tech Videos

All times are GMT -4. The time now is 04:10 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy