On Sun, 6 Sep 2015 12:38:45 +0300 Nerijus Baliunas 
<[email protected]> wrote:

> Now I changed direction back again. The broadcast packet has Dst IP 
> 192.168.1.255 and MAC 00:1b:21:0e:xx:xx.
> It is the MAC of my local ethernet interface. How do I make it 
> ff:ff:ff:ff:ff:ff?
> 
> For the reference, the shorewall rule is:
> DNAT    loc     loc:192.168.1.255       udp     27036   27036   5.20.215.255

I did a packet dump after launching Steam and changed the MAC:
tcpdump -w dump.pcap -i br1 port 27036
tcprewrite --infile=dump.pcap --outfile=temp1.pcap 
--dstipmap=0.0.0.0/0:192.168.1.255 --enet-dmac=FF:FF:FF:FF:FF:FF
tcprewrite --infile=temp1.pcap --outfile=final.pcap --fixcsum

On Mon, 31 Aug 2015 23:22:11 +0300 Nerijus Baliunas 
<[email protected]> wrote:

> I suspect that if the Steam client on another PC sees at least one broadcast,
> it will contact the sending PC directly and they will see each other.

I was right - after replaying the network traffic:
tcpreplay --intf1=br1 final.pcap
both Steam clients connected.

Is it possible to make destination MAC FF:FF:FF:FF:FF:FF so that I don't need 
to run tcpreplay
every time?

Regards,
Nerijus

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to